News for hackers. Stuff that matters.
Re:Username ending with MIME type format is not allowed by duskwuff on Wednesday September 15, 2021 @03:40PM (#28543441)
And it was exacerbated by another bug which was causing the absence of a period to be ignored, so any username ending in a recognized filetype was blocked (e.g. "AsiMOV" in the example, or "MaasTIFF" in the comments).

I initially suspected that a regex was involved and someone forgot to escape the period, but it looks like that wasn't even the case -- the erroneous code was literally checking if the username ended in any recognized extension.

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65954/...

There are no comments on this comment yet.