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

X-Tracy-Ajax is added to a cross-origin request #315

Closed
jiripudil opened this issue Aug 28, 2018 · 1 comment
Closed

X-Tracy-Ajax is added to a cross-origin request #315

jiripudil opened this issue Aug 28, 2018 · 1 comment

Comments

@jiripudil
Copy link
Contributor

@jiripudil jiripudil commented Aug 28, 2018

Version: >= 2.4.2

Bug Description

The change in #211 doesn't take into account the situation when the scheme-less URL (//anything.example.com) points to a different origin. In such case the X-Tracy-Ajax header is added to a cross-origin request and the preflight request fails because it doesn't list the tracy header in Access-Control-Allow-Headers.

@dg dg closed this in 1a5e0f6 Aug 28, 2018
dg added a commit that referenced this issue Aug 28, 2018
dg added a commit that referenced this issue Aug 28, 2018
@jiripudil

This comment has been minimized.

Copy link
Contributor Author

@jiripudil jiripudil commented Aug 28, 2018

Wow, that was quick, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.