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

Adjust SAFE_URL_PATTERN regex for use with test method of regexes. #33153

Merged
merged 2 commits into from
Mar 2, 2021

Commits on Feb 19, 2021

  1. Adjust SAFE_URL_PATTERN regex for use with test method.

    The `test` method on regexes does not behave like `match` on strings
    for checks if the regex matches when the global modifier (g) is present.
    
    Also adds a unit test on tooltips for sanitizing the same template twice.
    nikonthethird committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    681545b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9eea3e2 View commit details
    Browse the repository at this point in the history