nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Adding user whose name might contain apostrophe or other special characters renders the name addition to be invalid #1071

Open nus-se-script opened 2 months ago

nus-se-script commented 2 months ago

image.png

input: (just for demonstration, but you could imagine someone's name which might have an apostrophe or comma in it) adduser john'

output: [ERROR] Invalid addUser format. Expected format: adduser <desired user's name>

This means that someone whose name has special characters like apostrophe and comma will not be able to get their name registered, and they will need to use another name or include their name without the special character.


[original: nus-cs2113-AY2324S2/pe-interim#964] [original labels: severity.Low type.FeatureFlaw]

john-nng commented 2 months ago

Team's Response

small issue, but we should've accounted for this possibility nonetheless.

Duplicate status (if any):

--