Closed Bug 1052510 Opened 10 years ago Closed 7 years ago

You shouldn't be able to create a new page as a child of a redirect

Categories

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

All
Other
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Assigned: safwan)

References

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
If you know the URL of a page that's a redirect, such as https://developer.mozilla.org/en-US/docs/Project:MDN/Contributing/How_to, you can add go to https://developer.mozilla.org/en-US/docs/Project:MDN/Contributing/How_to/Blahblahblah (that is, a subpage URL of the redirect) and get a "new page" editing window.

What happened?
==============
This creates a new page in a part of the site that can't be navigated to with our landing page mechanism, and is in fact in a place where content is no longer meant to be.

What should have happened?
==========================
Attempting to do this should automatically update the URL of the page you're trying to create based on the parent's redirect.

Is there anything else we should know?
======================================
Severity: normal → major
Component: General → Wiki pages
Assignee: nobody → safwan.rahman15
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/c23cd40fd5f80471a520d456b877e385ce61093f
[Bug 1052510] Should not possible to create page as child of redirect

https://github.com/mozilla/kuma/commit/5da8b19d310bb8bb7ecc01528a819ab4445bd478
Merge pull request #4158 from safwanrahman/create-page

[Bug 1052510] Should not possible to create page as child of redirect
Deployed to staging and production. Works on :sheppy's example.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
See Also: → 1435301
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.