Bug 4180 - Invalid HTML for search results
Summary: Invalid HTML for search results
Status: RESOLVED INVALID
Alias: None
Product: Website
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-03-17 20:11 CET by George
Modified: 2019-03-17 21:07 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George 2019-03-17 20:11:05 CET
Search function in bugzilla used to work fine but now it doesn't because the HTML is broken by some added text in the header and footer.

STR:

0. Disable JavaScript in browser (I have always used the site this way, no problems till now)

1. Use the search function on the site with the word "test" or:

http://www.thewildbeast.co.uk/claws-mail/bugzilla/buglist.cgi?quicksearch=test&list_id=4452

EXPECTED:

The output HTML should be valid.

ACTUAL:

The browser shows a black page. "View source" reveals extra text in the beginning of the HTML and two <html>...</html> sections:


WARNING: YOUR BROWSER DOESN'T SUPPORT THIS SERVER-PUSH TECHNOLOGY.
--------- =_jCciG6nY9wuuKXKC
Content-Type: text/html; charset=UTF-8

<html>
  <head>
    <title>Bugzilla is pondering your search</title>
  </head>
  <body>
    <h1 style="margin-top: 20%; text-align: center;">Please stand by ...</h1>

  </body>
</html>
--------- =_jCciG6nY9wuuKXKC
Content-Type: text/html; charset=UTF-8
content-disposition: inline; filename="bugs-2019-03-17.html"
Set-Cookie: LASTORDER=bug_status%2Cpriority%2Cassigned_to%2Cbug_id; path=/; expires=Fri, 01-Jan-2038 00:00:00 GMT
Set-Cookie: BUGLIST=1434-1583-1773-1853-2207-2243-2280-2472-2653-2658-2721-2792-2910-3042-3088-3307-3313-3369-3381-3439-3511-3518-3601-3602-3632-3728-3773-3816-4030-4057-1670-2031-2371-3654-3780; path=/; expires=Fri, 01-Jan-2038 00:00:00 GMT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                      "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
  <head>
...


Also there are additional 2 lines after the closing </html>:


</html>
--------- =_jCciG6nY9wuuKXKC--
WARNING: YOUR BROWSER DOESN'T SUPPORT THIS SERVER-PUSH TECHNOLOGY.



Thested with Chromium 72.0.3626.122 (64-bit)
Comment 1 Paul 2019-03-17 20:54:35 CET
works for me. nothing changed in bugzilla
Comment 2 George 2019-03-17 21:04:21 CET
Now it works for me too.

Weird. I am confident this was an actual issue for more than a month.