nus-cs2103-AY2021S2 / pe-dev-response

0 stars 0 forks source link

find parameters matching add parameters restriction #1090

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

add name is restricted to alphanumeric characters and spaces, and it should not be blank. however i am able to execute find abc@ without errors. perhaps find could be restricted as well

image.png

image.png


[original: nus-cs2103-AY2021S2/pe-interim#1090] [original labels: severity.Medium type.FunctionalityBug]

Sidney011100 commented 3 years ago

Team's Response

In the particular scenario that you tried, "find subway @", "subway @" was interpreted as "subway" and "@" and the strings were searched through the different parameters that the Find Command searches through (as shown in the picture below). Address accepts special characters, thus putting the special character in Find could be valid. 1090.jpg

Duplicate status (if any):

--