Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.15.0, 5.15.1, 5.15.2
-
None
Description
As we're trying to upgrade from 5.14.1 to 5.15.x, we're running into an issue where the redirect call is failing. We're using PySide2. Using the request module directly fixes the issue.
We're passing an QWebEngineUrlRequestInterceptor to the QWebEngineProfile, which allows us to redirect the response of our webapp to a different port. The code of our interceptRequest() call looks like this:
def interceptRequest(self,info):
url = info.requestUrl()
if self.isRedirect(info) and self.myIDRedirectURI in url.toString():
url.setPort(self.listenerPort)
info.redirect(url)
Which works fine in 5.14.1, but fails in 5.15.x (we haven't tried 6 yet)