carpentries / amy

A web-based workshop administration application built using Django.
https://amy.carpentries.org
MIT License
113 stars 72 forks source link

Consider whether we need to coerce GitHub pages urls for workshop websites #2605

Open maneesha opened 8 months ago

maneesha commented 8 months ago

The Event model has a field for url as stored in the database. In the user interface however, the displayed url may get coerced to conform to the GitHub pages github.io format. This means that the url may look correct in the AMY interface, but external queries retrieve the stored value which may not be correct.

Example:

https://user.github.com/2024-01-01-example gets coerced to https://user.github.io/2024-01-01-example. Database queries return the stored .com value but the AMY administrator sees the .io value