Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Fix bug #4460 #5031

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MagicalTux
Copy link

Issue #4460 is linked to the fact that when a url is blocked, the code will instead attempt to access about:blank, which is not a protocol supported by QNetworkAccessManager.

Instead, this will return a fake QNetworkReply with a status code of 403 that should take care of any unauthorized access in a clean and Qt friendly way.

…ich in turn generates ProtocolUnknownError by using a fake denied response instead
Copy link
Member

@ashkulz ashkulz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, @MagicalTux!

src/lib/multipageloader.cc Outdated Show resolved Hide resolved
@ashkulz
Copy link
Member

ashkulz commented Jun 29, 2021

Looks like there are build failures as well, @MagicalTux?

@fitzboy
Copy link

fitzboy commented Jan 7, 2022

@MagicalTux is there any movement on this? We just ran into this bug and are keen to see this fix get merged!

src/lib/multipageloader.cc Outdated Show resolved Hide resolved
src/lib/multipageloader.cc Outdated Show resolved Hide resolved
src/lib/multipageloader.cc Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants