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

PAYARA-1104 fixes #1117 Encode redirect to https correctly on webservice #1128

Merged
merged 1 commit into from
Oct 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import com.sun.enterprise.deployment.Application;
import com.sun.enterprise.deployment.WebServiceEndpoint;
import fish.payara.nucleus.requesttracing.RequestTracingService;
import fish.payara.nucleus.requesttracing.domain.EventType;
import fish.payara.nucleus.requesttracing.domain.RequestEvent;
import org.glassfish.api.logging.LogHelper;
import org.glassfish.ejb.api.EjbEndpointFacade;
Expand Down Expand Up @@ -135,7 +134,7 @@ protected void service(HttpServletRequest hreq,
sb.append("?");
sb.append(query);
}
hresp.sendRedirect(URLEncoder.encode(sb.toString(), "UTF-8"));
hresp.sendRedirect(hresp.encodeRedirectURL(sb.toString()));
} else {
boolean dispatch = true;
// check if it is a tester servlet invocation
Expand Down