openrightsgroup / blocked-org-uk

Template front-end code, markup, style-sheets, images and other assets for the Censorship Monitoring Project (blocked.org.uk)
https://www.blocked.org.uk/
GNU General Public License v3.0
13 stars 5 forks source link

Normalise base URLs (e.g. to end in trailing slash) #321

Closed gwire closed 6 years ago

gwire commented 6 years ago

The backend editor (eg for grouping court orders) seems to include doubled up entries for both http://www.example.com and http://www.example.com/ suggesting they are two separate database entries, but the frontend seems to show the same record for both.

JimKillock commented 6 years ago

AIUI the database has just http://www.example.com – so the entries in the control are just (my) user error.

dantheta commented 6 years ago

This has been fixed in #329 for new records. The non-trailing slash version was preferred on the main site (to improve readability), so the same convention has been kept here.