Opened 14 years ago
Closed 14 years ago
#15148 closed (duplicate)
International Domain Name (IDN) validation not working 100%
Reported by: | halrobertson | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 1.3-beta |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I am finding some domain names that are valid IDN's not validating with Django's URLValidator. I am using django 1.3.0 beta 1
I made a simple view to validate some IDN's, including those listed here: rooftopsolutions.nl/blog/internationalized-domain-names-are-you-ready
I have tried this with both python 2.5 and python 2.6 and have the same problems in both
Here's the view code I tried (attached)
Attachments (1)
Note:
See TracTickets
for help on using tickets.
I should mention the results I get:
# http://www.yahoo.com OK
# http://yahoo.com OK
# http://sãopaulo.com/ OK
# http://sãopaulo.com.br/ OK
# http://пример.испытание/ FAILED VALIDATION
# http://مثال.إختبار/ FAILED VALIDATION
# http://例子.测试/ FAILED VALIDATION
# http://例子.測試/ FAILED VALIDATION
# http://उदाहरण.परीक्षा/ FAILED VALIDATION
# http://例え.テスト/ FAILED VALIDATION
# http://مثال.آزمایشی/ FAILED VALIDATION
# http://실례.테스트/ FAILED VALIDATION
# http://العربية.idn.icann.org/ OK