Closed Bug 66363 Opened 24 years ago Closed 13 years ago

Search plugins don't work with the post method

Categories

(SeaMonkey :: Search, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Erich.Iseli, Unassigned)

References

()

Details

Attachments

(1 file)

In sherlock search plugins, you have the following element

<search
    name="..."
    description="..."
    method="..."   <========
    action="..."
    >

The method usually used is "get" but obviously, "post" should also be possible.
However, if you do that, the plugin won't work at all if you use the web form to
post the search (no results get displayed in the sidebar) or if you type your
search into the sidebar, it will load search.netscape.com instead of the correct
search enginge. Note that Netscape search is used _even_ if the default search
engine is an other one (for example Google).

This prevents you from using sherlock plugins for many search engines that use
the post method (=> severity: major).

The URL above sends you to a testcase. Plugins and a dummy search engine are
available there.
Note to matt: 95+% of public search engines out there use HTTP GET...

With the current architecture, there is no easy solution for providing full
support for HTTP POST. Good luck!  (I'd mark this bug as low severity.)
Nice to have, but don't think we'll get to this for beta1. Marking nsbeta1-, future
Keywords: nsbeta1-
Target Milestone: --- → Future
reassigning matt's old bugs to default owner.
Assignee: matt → sgehani
Blocks: 126089
Depends on: 172120
Blocks: 172120
No longer depends on: 172120
I made a tiny hack for gentoos mozilla-firefox-1.5.0.4-ebuild, that generates HTTP POST-requests, carrying url-encoded form-data in their body, when the "method"-field within the search plugin src-file is set to "POST".

This is not very pretty, akin the rest of the search-functionality, but seems to do the job.

see also: https://bugs.gentoo.org/show_bug.cgi?id=138577
Product: Core → SeaMonkey
Assignee: samir_bugzilla → nobody
QA Contact: claudius → search
Target Milestone: Future → ---
Depends on: 410613
Fixed in bug 410613
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: