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

hsts: reload only the main frame #177

Merged
merged 1 commit into from
Feb 13, 2015
Merged

hsts: reload only the main frame #177

merged 1 commit into from
Feb 13, 2015

Conversation

semarie
Copy link
Contributor

@semarie semarie commented Feb 13, 2015

HSTS in done using requeueing. But due to a bug in webkit, a reload of
the frame could be required in order to display the redirected URI (and
not the original one).

The patch force this reload only for the mainframe (where the correct
URI is need), and not for the subframe (where the HSTS stuff is done by
requeueing).

Original idea from @fanglingsu

This patch follow the discussion in #146 and should address #172.

HSTS in done using requeueing. But due to a bug in webkit, a reload of
the frame could be required in order to display the redirected URI (and
not the original one).

The patch force this reload only for the mainframe (where the correct
URI is need), and not for the subframe (where the HSTS stuff is done by
requeueing).

Original idea from @fanglingsu
@fanglingsu fanglingsu merged commit 131192c into fanglingsu:master Feb 13, 2015
@fanglingsu
Copy link
Owner

Wow, pretty nice, that works fine. Thank you for this patch.

@semarie semarie deleted the hsts-reload-mainframe branch February 14, 2015 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants