Closed
Bug 291641
Opened 20 years ago
Closed 19 years ago
http://plone.org - high cpu usage (infinite recursion) on plone based sites when searching for strings with symbols
Categories
(Tech Evangelism Graveyard :: English US, defect)
Tech Evangelism Graveyard
English US
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwjwj66, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Perform a search at http://plone.org with a leading space in the search term. For example, search on " plone". The search results will reply with a URL such as http://plone.org/newsitems/bookavailable/view?searchterm=%20plone Clicking this link will hang FF on a Mac OS X box and a Linux Fedora box, but the same URL works fine in Safari and Omniweb. Reproducible: Always Steps to Reproduce: 1. Perform a search at http://plone.org with a leading space in the search term 2. Click on the link in the search results page Actual Results: FF hangs and I need to force quit on both Mac and Linux platforms Expected Results: Rendered the link I believe this is related to the fact that Plone tries to highlight your search result and FF chokes on the leading space for some reason (but other browsers don't -- that's why I think it's a FF bug).
Comment 1•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050422 Firefox/1.0+ Following the repo steps I get the error msg: "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete" [ Stop Script ] [ Continue ]
Comment 2•20 years ago
|
||
Yeah probably this is a problem with a JavaScript that the server delivers.
Comment 3•20 years ago
|
||
Apparently the climb function (at http://plone.org/plone_javascripts.js) that that page uses to walk the DOM and highlight terms from the query string is infinitely recursive in this situation. I doubt this is a bug in the JavaScript engine, though if anyone could take the time to make a testcase, it would be appreciated. Also, contacting the page authors might be worthwhile.
Assignee: firefox → nobody
Severity: critical → normal
OS: MacOS X → All
Hardware: Macintosh → All
Version: unspecified → Trunk
Updated•20 years ago
|
Assignee: nobody → english-us
Status: UNCONFIRMED → NEW
Component: General → English US
Ever confirmed: true
Product: Firefox → Tech Evangelism
QA Contact: general → english-us
Summary: FF hangs with %20 in URL → http://plone.org - high cpu usage (infinite recursion) on plone based sites when searching for strings with symbols
Version: Trunk → unspecified
Comment 4•20 years ago
|
||
*** Bug 298864 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
According to http://plone.org/collector/4220 , this is fixed. Please reopen if there are other issues.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•