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
Is your feature request related to a problem? Please describe.
I unknowingly created a performer with leading white space and it effected the data integrity as the performer name wasn't getting sorted properly. I think it's just good practice to sanitize all user and scraper submitted strings by removing any leading and trailing white space.
Describe the solution you'd like
Trim leading and trailing white space from all strings entered by a user or entered through scraping (assuming it doesn't already for scraping).
Worth noting that if this applies to tag names, it would break the manual ordering of tags that some users achieve by using leading white space in tag names. It would be very nice to have an alternate solution for tag ordering and categorization available if this gets applied to tags as well.
Maybe a toggle Trim whitespace before sorting/filtering.
Have yet to see this, but some sites might potentially support usernames with leading/trailing spaces, which would make it hard to input the "correct" names/aliases were all whitespace to be trimmed from strings indiscriminately.
Is your feature request related to a problem? Please describe.
I unknowingly created a performer with leading white space and it effected the data integrity as the performer name wasn't getting sorted properly. I think it's just good practice to sanitize all user and scraper submitted strings by removing any leading and trailing white space.
Describe the solution you'd like
Trim leading and trailing white space from all strings entered by a user or entered through scraping (assuming it doesn't already for scraping).
https://pkg.go.dev/strings#TrimSpace
The text was updated successfully, but these errors were encountered: