Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Referer is spelled "Referer" by the HTTP specification:

Pulling the header from "Referrer" means that the code to parse the referer header will never be triggered by a real browser.
  • Loading branch information...
commit 9d5d2a1fdce92d89106510cbf670872623f28067 1 parent 691edf4
@jsight jsight authored bstansberry committed
2  domain-http/interface/src/main/java/org/jboss/as/domain/http/server/
@@ -52,7 +52,7 @@ public void handle(HttpExchange exchange) throws IOException {
boolean opera = userAgent != null && userAgent.contains("Opera");
boolean win = !opera && userAgent != null && userAgent.contains("MSIE");
- String referrer = responseHeaders.getFirst("Referrer");
+ String referrer = responseHeaders.getFirst("Referer");
// Calculate location URL
String protocol = "http";
Please sign in to comment.
Something went wrong with that request. Please try again.