Menu

#88 Problem with MODE_SERVER_OUTBOUND mode in ProxyApp.java

3.x
open
nobody
None
5
2015-06-22
2015-06-22
No

In ProxyApp.java in fr.cnes.applications.basic package, there is a problem with mode server outbound (mode 6 in administration configuration).
The server not appending the appending the remaining part of the current request URI which hasn't been routed yet.

line 162 :
redirector = new Redirector(getContext(), param1.getValue(),Integer.parseInt(param3.getValue()));

Whereas it should be something like
if (Integer.parseInt(param3.getValue()) == 6 )
redirector = new Redirector(getContext(),param1.getValue().concat("{rr}") ,Integer.parseInt(param3.getValue()));

Discussion


Log in to post a comment.

MongoDB Logo MongoDB