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

Peg legacy url regex search to the start of the input #414

Merged
merged 6 commits into from Aug 22, 2018

Conversation

jimlambie
Copy link
Contributor

This PR modifies the legacy URL check to ensure we start at the beginning of the input string, so that we don't inadvertently match a URL such as wp-includes/css/main.css. We should only be matching URLs such as /css/main.css

@jimlambie jimlambie merged commit dcc92c7 into develop Aug 22, 2018
@jimlambie jimlambie deleted the patch/tighten-css-regex branch August 22, 2018 14:01
@jimlambie jimlambie mentioned this pull request Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants