You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When filling in the “city” field on the job search page, we get a RoutingError if the “_” character was entered in the field.
Reproduction steps
1. Go to https://cv.hexlet.io/ru/vacancies
2. Fill in the “city” field using underscores (for example: New_york)
3. Click search button
4. Get a 404 error, and a RoutingError on the backend
Expected result
List of ads with the corresponding city or “Empty”
Actual result
In a production environment:
In a dev environment:
Browsers
Firefox, Chrome
OS
Linux
The text was updated successfully, but these errors were encountered:
Underscores are used in search filtering, so we cannot distinguish it from the separator. Which character can be used as a separator instead of underscore better?
Summary
When filling in the “city” field on the job search page, we get a
RoutingError
if the “_” character was entered in the field.Reproduction steps
1. Go to https://cv.hexlet.io/ru/vacancies 2. Fill in the “city” field using underscores (for example: New_york) 3. Click search button 4. Get a 404 error, and a RoutingError on the backend
Expected result
List of ads with the corresponding city or “Empty”
Actual result
In a production environment:
In a dev environment:
Browsers
Firefox, Chrome
OS
Linux
The text was updated successfully, but these errors were encountered: