Closed Bug 1263610 Opened 9 years ago Closed 7 years ago

Links in theme descriptions don't show up properly in an add-on description

Categories

(Toolkit :: Add-ons Manager, defect, P1)

defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox48 --- affected

People

(Reporter: mkaply, Unassigned)

References

Details

(Whiteboard: triaged)

If you add a theme that has a proper link on AMO: https://addons.mozilla.org/en-US/firefox/addon/dewy-grass-by-madonna/ And then view the description for that theme inside of Firefox, you see this in the description: My wallpaper to match is at: <a rel="nofollow" href="https://outgoing.mozilla.org/v1/60c071bd18d197fb27d8f9e9a4048beb36637663f3e331e8e6e51723913adb72/https%3A//nature.desktopnexus.com/wallpaper/2106268/">https://nature.desktopnexus.com/wallpaper/2106268/</a> It should be a clickable link.
Priority: -- → P4
Whiteboard: triaged
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
If we're pushing themes, let's do them justice.
Status: RESOLVED → REOPENED
Priority: P4 → P1
Resolution: INACTIVE → ---
Sorry, this intent is a little different than originally filed. When pulling this into about:addons, we should remove links -- which I *think* is what amyt wanted -- rather than allowing the link to be rendered as authored.
Flags: needinfo?(atsay)
Yes, given the choice between seeing the HTML for the link and seeing the link URL in plain text, we should choose the latter.
Flags: needinfo?(atsay)
Took a quick look at the code and it looks like AMO returns outgoing links for extensions as well, but it seems to get filtered in _parseAddons [1]. Seems like that should be happening for themes too, though. [1] https://searchfox.org/mozilla-central/rev/007b66c1f5f7a1b9a900a2038652a16a020f010c/toolkit/mozapps/extensions/internal/AddonRepository.jsm#620-621
(In reply to Mark Striemer [:mstriemer] from comment #6) > Took a quick look at the code and it looks like AMO returns outgoing links > for extensions as well, but it seems to get filtered in _parseAddons [1]. > Seems like that should be happening for themes too, though. That should happen properly for xpi packaged themes, this report is about a LWT though.
Static themes would follow the code path I linked to in comment 6 which correctly displays the links. Since that conversion is going to happen before a fix in Firefox would get released there isn't much point in doing this anymore.
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.