Welcome Guest Search | Active Topics | Sign In | Register

\r in header value Options
ns
Posted: Monday, May 2, 2016 9:01:06 AM
Rank: Member
Groups: Member

Joined: 8/11/2015
Posts: 17
When "Upgrade-Insecure-Requests" header value is set to "2", value sent to the server is "2\r,1".

Please provide a fix or show the correct way to update headers, thank you.

Repro lines: https://github.com/krk/eorepro-headernewline/blob/master/EORepro/WebViewWrapper.cs#L71-L72

Repro project zip: https://github.com/krk/eorepro-headernewline/archive/master.zip
eo_support
Posted: Monday, May 2, 2016 3:33:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

You will not be able to override this particular header entry. The browser engine will always add "Upgrade-Insecure-Requests"="1" to the request. This will cause the double entry if you already have an entry in the header.

Thanks!
ns
Posted: Tuesday, May 3, 2016 2:48:17 AM
Rank: Member
Groups: Member

Joined: 8/11/2015
Posts: 17
Are the other headers that cannot be overridden? If so what are they?
eo_support
Posted: Tuesday, May 3, 2016 11:55:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

That is determined by Chromium and we do not keep a list of what they do with each header entry because it's not practical for us to document every aspect of Chromium's behavior. What we can do is when you report something to us, we can trace into Chroimum's source code for you to find out why and provide our findings to you.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.