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

[Django Upgrade] [ENG-4072] The Rest - Part 2 #10072

Merged
4 changes: 2 additions & 2 deletions website/static/urlValidatorTest.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
"http://مثال.إختبار":"should accept valid unicode heavy website test 1",
"http://例子.测试":"should accept valid unicode heavy website test 2",
"http://उदाहरण.परीक्षा":"should accept valid unicode heavy website test 3",
"http://-.~_!$&()*+,;=:%40:80%2f::::::@example.com":"should accept valid website with user but crazy username",
"http://-.~_!%24%26()*%2B%2C%3B%3D%3A%40%3A80%2F%3A%3A%3A%3A%3A%3A@example.com":"should accept valid website with user but crazy username",
"http://1337.net":"should accept valid website with just numbers in domain",
"http://definitelyawebsite.com?real=yes&page=definitely":"should accept valid website with query",
"http://a.b-c.de":"should accept valid website with dash",
"http://website.com:3000/?q=400":"should accept valid website with port and query",
"http://asd/asd@asd.com/":"should accept valid website with unusual username"
"http://asd%2Fasd@asd.com/":"should accept valid website with unusual username"
Comment on lines -35 to +40
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Django 3 is more strict on special characters encoding in URL and we should follow the spec.

},
"testsNegative": {
"notevenclose": "should deny simple invalid website",
Expand Down