Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accept any work slug with alphabet characters or a dash or underscore #3086

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

saracarl
Copy link
Collaborator

@saracarl saracarl commented Apr 8, 2022

LVA has work titles with underscores or dashes, which were not allowed with the alpha regex matching. Since they upload large zip files, we would get 80% of the way through, run into one of these, and then fail for the entire upload.

@saracarl saracarl requested review from benwbrum and sylvieed April 8, 2022 18:34
@saracarl saracarl linked an issue Apr 8, 2022 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Apr 8, 2022

Coverage Status

Coverage remained the same at 79.491% when pulling 4269ad4 on fix-work-slug-validation into b3bf48d on development.

@benwbrum
Copy link
Owner

benwbrum commented Apr 8, 2022

This works as described. However, when testing a non-Latin slug like ל"עולם, the slug I entered is replaced with a GUID. Is that correct behavior?

@benwbrum benwbrum merged commit 9ddd6cf into development Apr 8, 2022
@benwbrum benwbrum deleted the fix-work-slug-validation branch April 8, 2022 19:24
sylvieed pushed a commit that referenced this pull request Jul 14, 2022
accept any work slug with alphabet characters or a dash or underscore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

work titles should accept underscores
3 participants