Bug 245528

Summary: Bugzilla preview feature broken
Product: Services Reporter: Michael Gmelin <grembo>
Component: Bug TrackerAssignee: Bugmeister <bugmeister>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Michael Gmelin freebsd_committer freebsd_triage 2020-04-11 09:32:39 UTC
Tested on Chromium and Firefox.

How to replicate:
Create a new bug, enter text in "Comment", switch to the Preview pane.

It will say "Generating Preview..." but the result is always blank.

There are jsonrpc calls happening in the background when clicking "Preview":

asyncRequest
https://bugs.freebsd.org/bugzilla/data/assets/f8b3538579ddbb219fd1832b855de772.js:19:3062
show_comment_preview
https://bugs.freebsd.org/bugzilla/data/assets/1e72c98dd3b5184a9e93354b5e8d2986.js:1201:20
onclick
https://bugs.freebsd.org/bugzilla/enter_bug.cgi:1:1

Also, Chromium is complaining about the XSS protection header, not sure if it is related, but worth looking into it anyway (seems like an easy fix):

"Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 13. The default protections will be applied."
Comment 1 Michael Gmelin freebsd_committer freebsd_triage 2020-04-14 16:08:44 UTC
As of today this is working again.

Closing the bug for the time being.