ClearURLs / Rules

Rules database of the ClearURLs WebExtension.
https://docs.clearurls.xyz/latest/specs/rules/
GNU Lesser General Public License v3.0
129 stars 51 forks source link

Exception Needed for sftc.org #54

Open YipYup opened 1 year ago

YipYup commented 1 year ago

When visiting this URL, the page redirects, and places in a "referrer" URL query string. It is required, but is removed by clearurls default rules. The result is that the captcha page redirects the user to a 404 after completion, rather than the original intended destination. An exception needs to be added.

Visit: http://webapps.sftc.org/ci/CaseInfo.dll

URL before sanitization: https://webapps.sftc.org/captcha/captcha.dll?referrer=https%3A%2F%2Fwebapps.sftc.org%2Fci%2FCaseInfo.dll%3F

I believe this is the rule portion which is causing issues:

"globalRules": {
            "urlPattern": ".*",
            "completeProvider": false,
            "rules": [

...

                "(?:%3F)?referrer",