sismics / docs

Lightweight document management system packed with all the features you can expect from big expensive solutions
https://teedy.io
GNU General Public License v2.0
1.98k stars 489 forks source link

allow hyphen in username #731

Closed Enrice closed 1 year ago

Enrice commented 1 year ago

This should allow hyphens in usernames

jendib commented 1 year ago

@Enrice Shouldn't the . (dot) still be escaped?

Enrice commented 1 year ago

Never should have been. The dot inside square brackets loses its meta meaning and is a literal. source: Regular expression That said, the - (hyphen) also wouldn't need to be escaped...