Closed Bug 152038 Opened 22 years ago Closed 22 years ago

Sherlock search plugins don't decode & in URLs

Categories

(SeaMonkey :: Search, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 94651
mozilla1.2alpha

People

(Reporter: Erich.Iseli, Assigned: samir_bugzilla)

Details

Some links designed for the GET method are now correctly implemented with &amp; instead of just the & sign in the code. Example: <a href="http://site.com/script?param1=foo&amp;param2=bar"> instead of <a href="http://site.com/script?param1=foo&param2=bar"> When sherlock encounters such a link, it takes it as-is in the sidebar. However, if you click on it, it tries to open the URLhttp://site.com/script?param1=foo&amp;param2=bar which is not a valid URL for the script. 1. Go to http://mycroft.mozdev.org 2. Search for "wissen" and uncheck "Don't show untested plugins" 3. You should get a result for "Wissen.de" 4. Install it 5. Open your sidebar and select this search engine 6. Type a query, for example "Chanson" 7. You will get a result in the sidebar (currently 3 items) The result page is also shown in the browser 8. Click on one of the "Chanson" link in the browser: it works (actually opens a pop-up window, but the link in the code is also working if you have JS deactivated. 9. Click in the sidebar Result: you get an error page Expected result: the same page as in 8 should show So the problem is that the link in the sidebar is merely a copy of the value of the href attribute in the a-element, with the base href corrected, of course.
Priority: -- → P3
Target Milestone: --- → mozilla1.2alpha
*** This bug has been marked as a duplicate of 94651 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.