Closed Bug 506320 Opened 15 years ago Closed 15 years ago

Plus sign for plugin add-ons returns 404 Error

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mozilla.bugs, Assigned: Milos)

References

()

Details

(Whiteboard: [AMO508Testday])

Attachments

(2 files, 1 obsolete file)

When loading https://addons.mozilla.org/en-US/firefox/browse/type:7 The plus sign is missing.

When I load the URL for the gif file, it returns a file not found message with a 404 Error code.
Whiteboard: [AMO508Testday]
Severity: major → normal
Attached image Screenshot
Here, look at the vertical | separator -- the "+" sign should be to the left of that.
It tries to pull remora/site/img/amo2009/icons/buttons/plus-green-8x9.gif instead of /img/amo2009/icons/buttons/plus-green-8x9.gif
Assignee: nobody → bmo
Status: NEW → ASSIGNED
Attached patch patch v1 (obsolete) — Splinter Review
Showing the love :)
Attachment #390670 - Flags: review?(clouserw)
Thanks to :mzz for helping me to find which file to edit.
Attachment #390670 - Flags: review?(clouserw) → review-
Comment on attachment 390670 [details] [diff] [review]
patch v1

I agree it's broken, but the right way to do this would be to use the $html->img() so it will still work for people with different paths.
So, you want me to use <img src="<?=$html->urlImage('amo2009/icons/buttons/plus-green-8x9.gif')?>" instead of <img src="/img/amo2009/icons/buttons/plus-green-8x9.gif" ?
Yes.
Attached patch patch v2Splinter Review
Done.
Attachment #390670 - Attachment is obsolete: true
Attachment #391338 - Flags: review?(fwenzel)
Comment on attachment 391338 [details] [diff] [review]
patch v2

Yup, that works. Need me to check that in for you?
Attachment #391338 - Flags: review?(fwenzel) → review+
(In reply to comment #10)
> (From update of attachment 391338 [details] [diff] [review])
> Yup, that works. Need me to check that in for you?

Yes please. I don`t have an svn commit privileges on AMO.
r48049. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified FIXED on https://preview.addons.mozilla.org/en-US/firefox/browse/type:7; I tested IE 7/8, Firefox 3.5.1, and it looks good.

Thanks, Milos!
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: