Closed Bug 66363 Opened 22 years ago Closed 12 years ago

Search plugins don't work with the post method


(SeaMonkey :: Search, defect)

Not set


(Not tracked)



(Reporter: Erich.Iseli, Unassigned)





(1 file)

In sherlock search plugins, you have the following element

    method="..."   <========

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 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-, 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:
Product: Core → SeaMonkey
Assignee: samir_bugzilla → nobody
QA Contact: claudius → search
Target Milestone: Future → ---
Depends on: 410613
Fixed in bug 410613
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.