diff options
author | Phy <git@phy25.com> | 2019-10-20 19:16:05 -0400 |
---|---|---|
committer | Phy <git@phy25.com> | 2019-10-20 19:16:05 -0400 |
commit | c7dc833b3a9194cab1da6e647ab84a7aed28598f (patch) | |
tree | 3d8272c2cf0720633c70e800acbd80eed22e58de /lib/scripts/jquery/jquery-ui.min.js | |
parent | 85f3a4c05027b05dc06999f4fb3e37262544b075 (diff) | |
download | dokuwiki-c7dc833b3a9194cab1da6e647ab84a7aed28598f.tar.gz dokuwiki-c7dc833b3a9194cab1da6e647ab84a7aed28598f.zip |
getGoogleQuery: ignore if query includes a full URL
We don't want to split the URL to highlight the "query", especially when q is the URL of the page itself - e.g. Google Form's redirect https://www.google.com/url
This will also ignore queries like `syntax site:https://www.dokuwiki.org` but it should be fine. Just don't want to use a full parser here.
This fixes #2848.
Diffstat (limited to 'lib/scripts/jquery/jquery-ui.min.js')
0 files changed, 0 insertions, 0 deletions