Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link headers have incorrect HTML escaping #2718

Open
tunetheweb opened this issue Feb 27, 2023 · 1 comment
Open

Link headers have incorrect HTML escaping #2718

tunetheweb opened this issue Feb 27, 2023 · 1 comment
Assignees
Labels
Type: Bug An issue or pull request relating to a bug in WebPageTest

Comments

@tunetheweb
Copy link
Contributor

Description

If an HTTP response includes a < or > sign it's incorrectly HTML escaped in the GUI.
It displays this: link: &lt;https://fonts.gstatic.com&gt;; rel=preconnect; crossorigin
Instead of this: link: <https://fonts.gstatic.com>; rel=preconnect; crossorigin

Steps to reproduce

Pick a site using Google fonts (e.g. https://developers.google.com/), which returns a link rel preconnect in the CSS response and run a WebPageTest. Example run

Look at the HTML response headers and find the link response header.

Expected result

The unescaped link header should display.

Actual result

Screenshot of header with the < and > characters escaped

Related issues?

Couldn't find one

@tunetheweb tunetheweb added the Type: Bug An issue or pull request relating to a bug in WebPageTest label Feb 27, 2023
@scottjehl
Copy link
Contributor

@stoyan think this is a highlighter issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug An issue or pull request relating to a bug in WebPageTest
Projects
None yet
Development

No branches or pull requests

3 participants