unl / UNL_UCBCN_Frontend

Frontend for the UNL Event Publisher system
Other
2 stars 5 forks source link

Prevent malformed URLs when loading specific day content #133

Closed mfairchild365 closed 9 years ago

mfairchild365 commented 9 years ago

For example, if someone visited /calendar/?test the code would have sent a request to load the day's content to /calendar/?test?format=hcalendar, and many browsers would thus return the full page content (ignoring the second ?).

mfairchild365 commented 9 years ago

Specifically, this is an issue when you click the "live calendar" link in the manager interface, when directs the user to a url like /?calednar_id=<id>