symbol '_' not allowed
See original GitHub issueд_ругойтест.рф
Codepoint U+005F at position 2 of 'д_ругойтест' not allowed
Full traceback:
Traceback (most recent call last):
File "/home/user/somedirectory/code.py", line 34, in <module>
punnycode_to_replace = idna.encode("д_ругойтест.рф")
File "/usr/local/lib/python3.5/dist-packages/idna/core.py", line 355, in encode
result.append(alabel(label))
File "/usr/local/lib/python3.5/dist-packages/idna/core.py", line 276, in alabel
check_label(label)
File "/usr/local/lib/python3.5/dist-packages/idna/core.py", line 253, in check_label
raise InvalidCodepoint('Codepoint {0} at position {1} of {2} not allowed'.format(_unot(cp_value), pos+1, repr(label)))
idna.core.InvalidCodepoint: Codepoint U+005F at position 2 of 'д_ругойтест' not allowed
[Finished in 0.4s with exit code 1]
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
63168 Not Allowed Symbol Images, Stock Photos & Vectors
63,168 not allowed symbol stock photos, vectors, and illustrations are available royalty-free. See not allowed symbol stock video clips.
Read more >Not Allowed Symbols Vector Images (over 11,000) - VectorStock
The best selection of Royalty Free Not Allowed Symbols Vector Art, Graphics and Stock ... Showing 11,788 royalty-free vectors for Not Allowed Symbols....
Read more >Not allowed symbol Images | Free Vectors, Stock Photos & PSD
Find & Download Free Graphic Resources for Not Allowed Symbol. 70000+ Vectors, Stock Photos & PSD files. ✓ Free for commercial use ✓...
Read more >Not Allowed Sign Vector Art - Vecteezy
Browse 3262 incredible Not Allowed Sign vectors, icons, clipart graphics, and backgrounds for royalty-free download from the creative contributors at ...
Read more >Not allowed Icons & Symbols - Flaticon
6362 not allowed icons. Vector icons in SVG, PSD, PNG, EPS and ICON FONT.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
the _labels are not host names. Also, since they start with an underscore rather than xn-- IDNA obviously doesn’t apply to them.
It should be noted that SRV record labels do contain underscores (e.g.
_ldap._tcp.example.com
).