Open nus-pe-bot opened 1 year ago
The current function works exactly as how we intended as we have mentioned in our UG (a screenshot of it is attached below), and the user has the freedom to input anything as long as it is a valid URL. It is unreasonable to have overzealous input checks that would check whether the website for each URL exist. something.som
is a valid URL but the domain does not host any website.
--
Entered command:
addm m/EC1101E l/I3-AUDI Friday 16:00 - 18:00 lz/https://teams.microsoft.com/l/meetup-join/19:meeting_MjM2NzczMmEtMmRiNi00MGNhLWI1ZTYtMjI0ODQxMjI4NGNk t/COM1 B1-103 Wednesday 12:00 - 13:00 tz/https://nus-sg.zoom.us/CS2103T_tutorial a/Independent Project a/Team Project
Problem: Lecture and Tutorial Zoom Link allowing other links that are not zoom links, including invalid links
Justification: Users might think that the only links allowed are zoom links; but aside from that, if it has been specified that it is lecture zoom links, then the regex should actually follow the NUS zoom link format, e.g.
https://nus-sg.zoom.us/*
and not just limited byhttps://
. I think this is justifiable because the application is used for NUS modules, which are most likely to use NUS zoom links. Otherwise, the wording could just beLecture link
orTutorial meeting link
.Invalid links also pass this regex test. Limiting by
https://
certainly is not enough.[original: nus-cs2103-AY2223S1/pe-interim#5259] [original labels: type.FunctionalityBug severity.Low]