You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URL https://www.ynet.co.il returns 301 with Location header of "/home/0,7340,L-8,00.html". MonoHttpClientResponse#74 calls getRemoteAddress on the returned relative location, which fails with NPE.
It seems that method redirect of ReconnectableBridge does not support relative location. Looking at the code I think a simple change can fix this issue:
Line 150: activeURI = new URI(to);
Should be changed to:
Line 150: activeURI = from.resolve(new URI(to));
Version:
Netty version: 0.7.3
The text was updated successfully, but these errors were encountered:
Hi,
Issue:
URL https://www.ynet.co.il returns 301 with Location header of "/home/0,7340,L-8,00.html". MonoHttpClientResponse#74 calls getRemoteAddress on the returned relative location, which fails with NPE.
According to https://en.wikipedia.org/wiki/HTTP_location relative location should be supported.
Proposed Solution:
It seems that method redirect of ReconnectableBridge does not support relative location. Looking at the code I think a simple change can fix this issue:
Line 150: activeURI = new URI(to);
Should be changed to:
Line 150: activeURI = from.resolve(new URI(to));
Version:
Netty version: 0.7.3
The text was updated successfully, but these errors were encountered: