Closed Bug 935925 Opened 12 years ago Closed 12 years ago

Modify/replace slugify to fix several issues with title slugs

Categories

(Webmaker Graveyard :: Thimble, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 903143

People

(Reporter: laura, Assigned: jon)

Details

If you have a space at the end of the "Name", the published Thimble make has a URL that ends with a dash (-). Like this: https://janepark.makes.org/thimble/digital-selfpreservation-toolkit- If you don't include that final dash, you get a 404: https://janepark.makes.org/thimble/digital-selfpreservation-toolkit The space at the end is likely accidental (it was for me, i removed it and republished to save my URL), is there a way we can say "yo, if this is the last character, remove the space"?
Yeah, I think this is something I can fix up with some fixes to our slugifier.
Assignee: nobody → jon
Status: NEW → ASSIGNED
We also used to have a ticket for slugify mangling unicode in titles, so I'm morphing this issue into one for fixing up the slugifier in general. This it needs to do: - trim before slugifying - slugify unicode instead of stripping it - profit
Summary: auto remove or redirect "-" from published URLs → Modify/replace slugify to fix several issues with title slugs
Found it! We'll let :elnushaj take this
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.