Ticket #36 (new defect)

Opened 6 years ago

Last modified 5 years ago

Spaces in URIs%20look%20ugly

Reported by: chckens Owned by: Nobody
Priority: major Milestone: 0.4
Component: Backend Version:
Keywords: Cc:

Description

this URI being an extreme example:

 https://sucs.org/News/SUCS%20AGM%20-%20Tuesday%2013th%20March,%206pm,%20Kier%20Hardie%20248

It should be possible to switch to using underscores instead of spaces without breaking too much, right?

 https://sucs.org/News/SUCS_AGM_-_Tuesday_13th_March,_6pm,_Kier_Hardie_248 is a lot more readable and friendly

Change History

Changed 6 years ago by chckens

  • milestone set to 0.4

Changed 5 years ago by chckens

Dez wrote a solution to this problem which exists in the trunk version of the site. I haven't really evaluated it yet, but (for my own benefit as much as anyone else's) here are what I think the requirements in such a system are:

. "Cool URIs never change", so all existing URIs must continue to work . URIs are canonical, so URIs%20look%20ugly should 301 redirect to URIs_look_ugly . all website components which output URIs with %20s should output underscores instead

As far as I can tell, the only components which really deal with spaces in URIs at the moment are static and news, so this needn't be too challenging.

Note: See TracTickets for help on using tickets.