Closed Bug 657058 Opened 15 years ago Closed 15 years ago

[webby] 500 when a project has a dash in the slug

Categories

(Webtools Graveyard :: Elmo, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stas, Assigned: peterbe)

Details

Attachments

(1 file)

Reverse URL matching fails for webby.views.project when the slug contains a dash.
Priority: -- → P3
[\w-]+ seems the most common way to do a slug URL http://stackoverflow.com/questions/1700983/slug-field-followed-by-url
Attachment #535025 - Flags: review?(stas)
Comment on attachment 535025 [details] [diff] [review] Allows _ and - in the slug URL Review of attachment 535025 [details] [diff] [review]: ----------------------------------------------------------------- r=me. Perfect! As a nice side-effect, we can use digits in slugs now, too!
Attachment #535025 - Flags: review?(stas) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
How do we verify this on the staging server? Thanks! https://l10n-stage-sj.mozilla.org/
(In reply to comment #5) > How do we verify this on the staging server? Thanks! > > https://l10n-stage-sj.mozilla.org/ I guess, on dev, you could log in to the Admin interface and change a slug manually to one that contains a hyphen. I don't have a username+password for you. I guess I can create one for you if you like.
(In reply to comment #6) > I guess, on dev, you could log in to the Admin interface and change a slug > manually to one that contains a hyphen. I don't have a username+password for > you. I guess I can create one for you if you like. If you would; thanks! Alternatively, another developer/l10n power-user with Admin privs could also verify the bug.
I created a new webby project with the following slug: firefox-36x-upgrade-survey The URL is: https://l10n-dev-sj.mozilla.org/webby/firefox-36x-upgrade-survey
Thanks, Staś; verified FIXED.
Status: RESOLVED → VERIFIED
Assignee: nobody → peterbe
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: