Closed Bug 370998 Opened 18 years ago Closed 18 years ago

Short URLs not used consistently

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwkbugzilla, Assigned: wenzel)

Details

It seems that shortcuts for some longer URLs have been introduced (see bug 366620). Unfortunately, these shortcuts are not used consistently, many links still go to long URLs. Links to /addons/display/1234 instead of /addon/1234: search for "addons/display" in /app/controllers/addon_controller.php (5 occurrences), /app/controllers/file_controller.php (2 occurrences), /views/helpers/link.php (1 occurrence), /webroot/discussions/themes/addons/addon.php (1 occurrence), /webroot/discussions/themes/addons/discussion_form.php (1 occurrence), /views/addons/browse_categories.thtml (2 occurrences), /views/addons/policy.thtml (1 occurrence), /views/addons/previews.thtml (1 occurrence), /views/addons/rss/addons.thtml (1 occurrence), /views/addons/versions.thtml (1 occurrence), /views/editors/email/nominated/public_plain.thtml (1 occurrence), /views/editors/email/superreview_plain.thtml (1 occurrence), /views/editors/review.thtml (1 occurrence), /views/elements/addon_listitem.thtml (1 occurrence), /views/files/browse.thtml (1 occurrence), /views/reviews/add.thtml (1 occurrence), /views/reviews/display.thtml (1 occurrence), /views/search/rss/index.thtml (1 occurrence), /views/users/info.thtml (1 occurrence). Links to /users/info/123 instead of /user/123: search for "users/info" in /views/helpers/link.php (1 occurrence), /webroot/discussions/themes/addons/addon.php (1 occurrence).
This is fixed in trunk, SVN r2287. The short URLs for addon/* and user/* are now used throughout the page.
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.