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

[Security]Patch isVimeoUrl function regex #319

Merged
merged 4 commits into from
Oct 16, 2018

Conversation

YanZaX
Copy link
Contributor

@YanZaX YanZaX commented Sep 18, 2018

Fixing security issues on regex. This string could bypass the regex : "https://player.vimeozcom/" or https://www2vimeo.com" due to "dot com" not properly escaped.

Fixing security issues on regex. This string could bypass the regex : "https://player.vimeozcom/" due to "dot com" not properly escaped.
@CLAassistant
Copy link

CLAassistant commented Sep 18, 2018

CLA assistant check
All committers have signed the CLA.

@fisherinnovation
Copy link
Contributor

Thanks for the submission. Can you also include updates to the tests in functions-test.js to cover these cases?

@fisherinnovation fisherinnovation merged commit e8b20c3 into vimeo:master Oct 16, 2018
@tuctboh
Copy link

tuctboh commented Oct 17, 2018

@fisherinnovation / @luwes - This is an incomplete fix. What about

http://www.evil.com/fred?https://www.vimeo.com/testurl

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.

5 participants