sigpwny / websites

SIGPwny's websites and club content monorepo
https://sigpwny.com
Creative Commons Attribution Share Alike 4.0 International
11 stars 1 forks source link

iCalendar location regex matches are too loose #181

Closed WhiteHoodHacker closed 3 weeks ago

WhiteHoodHacker commented 8 months ago

Setting an event's location to either "TBA" or "TBD" will match the iCalendar location for Transportation Building. We should implement a stricter regex which includes room numbers (for all other buildings as well).

Matches for an iCalendar location are currently defined in content/json/locations.json.

WhiteHoodHacker commented 3 weeks ago

Honestly, no point in overcomplicating this, just removed problematic match. Fixed in f083ccd7ba44b7dfcce1bd265da904c171c94aa0.