Launchpad validation for a valid homeserver domain fails for certain domain names
Bug #2051075 reported by
Guruprasad
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Guruprasad |
Bug Description
Some homeserver domain names like kewis.ch, lgp.sh, matrix.hya.sk etc. trigger an error message saying "Homeserver must be a valid domain."
This looks like a bug in the regex used to validate homeserver domain names, that is causing the validation to fail for subdomains of two-character TLDs.
Related branches
~lgp171188/launchpad:fix-homeserver-domain-validation
Merged
into
launchpad:master
- Jürgen Gmach: Approve
-
Diff: 74 lines (+34/-4)2 files modifiedlib/lp/registry/interfaces/socialaccount.py (+8/-4)
lib/lp/registry/tests/test_socialaccount.py (+26/-0)
Changed in launchpad: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Guruprasad (lgp171188) |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.