nus-cs2113-AY2021S1 / pe-dev-response

0 stars 0 forks source link

Webcast link cannot contain "|" #1087

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

To reproduce: add link m/CS2101 t/lab u/https://www.zoom.com/abcde|abcde

Output:

    ____________________________________________________________
     ~Error~ Invalid url entered. Please refer to the User Guide.
    ____________________________________________________________

The user cannot add a link if it happens to contain a |.


[original: nus-cs2113-AY2021S1/pe-interim#993]

iamchenjiajun commented 3 years ago

Team's Response

Links that contain | are invalid links. We are downgrading the severity as legitimate url will not have these characters (or will have to be encoded) and our program is correctly identifying these invalid characters and throwing an error.

https://stackoverflow.com/questions/497908/is-a-url-allowed-to-contain-a-space

image.png

Duplicate status (if any):

--