nus-cs2113-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Note name considers "?" as a special character #2126

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Workplace: CS2113T->notes Command entered: add "fooo?" "."

"?" character, in this case, is considered a special character, while "." (period) is not, although they are the same kind of character. Cannot find a reason anywhere to justify why "?" cannot be included in note name

image.png


[original: nus-cs2113-AY2122S1/pe-interim#2189] [original labels: type.FeatureFlaw severity.Medium]

Woolicious98 commented 2 years ago

Team's Response

Thank you for report.

Please refer to the UG again for more clarification.

The first field refer to the note name and the second field refer to the note content. We only filter the note name as mentioned in the UG.

The key points are firstly question mark could be a special character in some file system and may cause an issue when writing a question mark to the file system. Secondly the concern Terminus have is the file name issue hence content filter is not part of our scope.

Duplicate status (if any):

--