When doing a search, the results page is cut.
In fact, the PHP output ends abruptly, see the HTML dump below. No </body></html> tags, nothing.
This only happens when the query string _is_ contained in a page's content, ie. when there are search hits, not only quickresults. In this case, the page layout is cut, and the browser stops loading anything more.
Anyway, quickresults are always displayed whenever there are some, even if the bug occurs.
If nothing matches, the "Nothing was found." message appears.
If no content matches, or only page names, there is no bug and the result page ends normally.
I'm attaching 2 screenshots, both when content matches (so the bug occurs), one from dokuwiki-2006-03-09c.jpg and the other from dokuwiki-rc2006-09-28_RC1.jpg . The last one has the bug, not the former release.
HTML dump :
------------------------------------------------------------
<h1><a name="search" id="search">Search</a></h1>
<div class="level1">
<p>
You can find the results of your search below. If you didn’t find what you were looking for, you can create or edit the page named after your query with the appropriate button.
</p>
</div>
<!-- SECTION "Search" [1-198] -->
<h2><a name="results" id="results">Results</a></h2>
<div class="level2">
</div>
<!-- SECTION "Results" [199-] --><div class="centeralign" id="dw__loading"><script type="text/javascript" charset="utf-8">showLoadBar();</script><br /></div>
<div class="search_quickresult"><h3>Matching pagenames:</h3><ul class="search_quickhits"><li> <a href="/dokuwiki/doku.php?id=news:jasmine_website_has_been_upgraded" class="wikilink1" title="news:jasmine_website_has_been_upgraded">JASmine has got a new website !</a></li> </ul> <div class="clearer"> </div></div><div class="search_result"><a href="/dokuwiki/doku.php?id=home&s=jasmine" class="wikilink1" title="home">JASmine, page accounting for CUPS</a>: <span class="search_cnt">5 Hits</span><br />
------------------------------------------------------------