Comments (6)
the _labels are not host names. Also, since they start with an underscore rather than xn-- IDNA obviously doesn't apply to them.
from idna.
Not a bug - see issue #50
from idna.
Works as expected.
from idna.
Hmm, what about subdomens?
from idna.
Labels all have the same restrictions in IDNA whatever their placement in the whole domain name.
from idna.
It should be noted that SRV record labels do contain underscores (e.g. _ldap._tcp.example.com
).
from idna.
Related Issues (20)
- Type error happened when join byte string.
- CI: Set minimum permissions on GitHub Workflow HOT 2
- Create a Security Policy
- Exception when decoding U+20AC Euro Sign HOT 1
- Function to check if a string is an idna domain HOT 3
- Suggest adoption of Scorecard GitHub Action HOT 1
- IDNA package source installation is broken in Poetry - Adhere to PEP-721 HOT 2
- Deprecate `setup.cfg` HOT 1
- Set a new minimum Python version HOT 2
- Use code formatter on source HOT 4
- PyPI Publish GitHub Action failing HOT 1
- `HISTORY.rst` no longer included in source distribution HOT 1
- RFE: is it possible to start making github releases?🤔 HOT 6
- License identifier is incorrect on released packages HOT 5
- Document exceptions HOT 2
- Exception ValueError: no such name
- Reproducer for CVE-2024-3651 HOT 7
- Patch for CVE-2024-3651, for v3.3 HOT 3
- Clarify that uts46=True is preprocessing only (and still enforces IDNA-2008 restrictions)
- Unable to pre-flight packages to TestPyPI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idna.