Unable to post comments with umlaut domains in the website field #951
Labels
bug
needs-contributor
Someone needs to implement this. Help wanted!
needs-decision
Architectural/Behavioral decision by maintainers needed
server
(Python) server code
Milestone
Checklist
master
branch does not fix my issueWhat is not working?
Posting a comment with an umlaut in the website (IDN) fails. The developer console of the browser shows the error from the server:
I tracked it down to the regex definition in
views/comments.py
, which only allows[A-Z0-9-]
.Using the validator module instead looks promising, otherwise the domain probably needs to be converted to IDN notation before the check.
How can one reproduce this issue?
Enter an IDN domain with an umlaut in any installation, it also fails in the demo in the isso website, and check the developer console.
The text was updated successfully, but these errors were encountered: