Closed Bug 777216 Opened 12 years ago Closed 12 years ago

Kuma: Create new article dialog needs to automatically replace spaces with underscores in the URL

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Assigned: davidwalsh)

References

Details

This is a priority item; when you create new pages, the link editor box lets you create URLs with spaces, which we don't actually support. We need to automatically and silently convert them to underscores when the user hits the OK button.
The result of this is the following mess: https://developer-new.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Feature%20support%20chart

Loading that page... gives interesting results. :(

Must fix before we do the edit switch, if at all possible.
Will be my first priority when I sign on tomorrow, sheppy!
Assignee: nobody → dwalsh
(In reply to Eric Shepherd [:sheppy] from comment #1)
> The result of this is the following mess:
> https://developer-new.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/
> Feature%20support%20chart
> 
> Loading that page... gives interesting results. :(
> 
> Must fix before we do the edit switch, if at all possible.

This is also bug 776449. We should handle spaces better, but also probably disallow them in URLs.
Blocks: 756263
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/76352544f6a662be9fea8b0bc6f65b3f8f27031e
fix bug 777216 - remove spaces from URLs

https://github.com/mozilla/kuma/commit/e18f27f6276165627d0686718f3dc8077322d218
Merge pull request #450 from darkwing/link-dialog-spaces-777216

fix bug 777216 - remove spaces from URLs
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Website → Landing pages
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.