Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

320159 fixes part 1 #137

Merged
merged 2 commits into from
Apr 5, 2019
Merged

320159 fixes part 1 #137

merged 2 commits into from
Apr 5, 2019

Commits on Apr 3, 2019

  1. [fix] long whitespace is evil, don't allow it

    There are broken sequences like "([^smth])*\s+" or "[^smth]+ *".
    This prevents abusing those.
    ChALkeR committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    687afe4 View commit details
    Browse the repository at this point in the history
  2. [fix] useragents longer than 1000 are probably evil

    Truncate the useragent to 1000 to avoid reject, ref:
    GUI/uas-parser@c33b124
    
    The check in isSafe for the max length is still there as a safeguard.
    ChALkeR committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    79c7c54 View commit details
    Browse the repository at this point in the history