-
Notifications
You must be signed in to change notification settings - Fork 308
Disallow slashes and other naughty strings in project names #4295
Comments
@dmk246 @EdOverflow Would one of you be able to cross-link this to the relevant HackerOne ticket? |
Potentially useful? https://github.com/minimaxir/big-list-of-naughty-strings |
These types of names also produce errors on the front page (FD):
|
NB, to delete existing bad projects, use |
|
Those are the required characters. At least one letter and then you can have some other stuff that isn't required. /me wanders off to learn how to regex out / and ? at the same time... |
@mattbk I'm pretty sure there's a bug in the regex because |
Note that there's another similar regex for usernames which may have the same bug. |
I will try that. |
Per some security researchers, we get project names like this:
All of these break the URL, so the project page can't be reached and needs to be manually removed from the database.
Not a security issue, but is an annoyance and could be used for spam.
The text was updated successfully, but these errors were encountered: