graasp / graasp-account

GNU Affero General Public License v3.0
0 stars 2 forks source link

fix: do not allow special characters in username #356

Closed MatveyK closed 3 days ago

MatveyK commented 1 month ago

Relates to https://github.com/graasp/graasp/pull/1406

spaenleh commented 1 month ago

@MatveyK Also see about the issue raised by sonarCloud. Maybe there is way to make the regex simpler ? Not sure we need backtracking in there ?

MatveyK commented 3 weeks ago

Regex simplified and test added.

sonarcloud[bot] commented 3 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud