Page MenuHomePhabricator

Toolhub URL field doesn't accept Cyrillic characters
Closed, ResolvedPublicBUG REPORT

Description

Reported on IRC by @Iniquity

image.png (102×711 px, 13 KB)

I'm suspecting based on T277979: urlRegex frontend validation is fragile and the proposed patch and comments, that it's probably going to be basically any letters/numbers that aren't a-z0-9 that aren't accepted. And as such, arabic, farsi etc etc characters won't be accepted either.

Event Timeline

Wow. Yeah this is caused by the regex validation. Let's fix it.

bd808 changed the task status from Open to In Progress.Jan 6 2022, 8:56 PM
bd808 claimed this task.
bd808 changed the status of subtask T277979: urlRegex frontend validation is fragile from Open to In Progress.
bd808 moved this task from Backlog to In Progress on the Toolhub board.

Change 752042 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[wikimedia/toolhub@main] ui: Replace URL validation regex with native parser

https://gerrit.wikimedia.org/r/752042

Change 752042 merged by jenkins-bot:

[wikimedia/toolhub@main] ui: Replace URL validation regex with native parser

https://gerrit.wikimedia.org/r/752042

Change 770638 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[operations/deployment-charts@master] toolhub: Bump container version to 2022-03-15-002555-production

https://gerrit.wikimedia.org/r/770638

Change 770638 merged by jenkins-bot:

[operations/deployment-charts@master] toolhub: Bump container version to 2022-03-15-002555-production

https://gerrit.wikimedia.org/r/770638