
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Issue Links:
|
Cloners
|
|
This issue Cloned by:
|
|
UP-1839
null referrer should not be allowed w...
|
|
|
|
|
|
|
|
Index: C:/workspace/uPortal-2-6/source/org/jasig/portal/HttpProxyServlet.java
===================================================================
--- C:/workspace/uPortal-2-6/source/org/jasig/portal/HttpProxyServlet.java (revision 42318)
+++ C:/workspace/uPortal-2-6/source/org/jasig/portal/HttpProxyServlet.java (working copy)
@@ -80,6 +80,12 @@
return;
}
+ } else /* referer is null so don't return element */ {
+ if (log.isWarnEnabled()) {
+ log.warn("HttpProxyServlet: bad Referer: " + referer);
+ }
+ response.setStatus(404);
+ return;
}
}
|
|
Description
|
Index: C:/workspace/uPortal-2-6/source/org/jasig/portal/HttpProxyServlet.java
===================================================================
--- C:/workspace/uPortal-2-6/source/org/jasig/portal/HttpProxyServlet.java (revision 42318)
+++ C:/workspace/uPortal-2-6/source/org/jasig/portal/HttpProxyServlet.java (working copy)
@@ -80,6 +80,12 @@
return;
}
+ } else /* referer is null so don't return element */ {
+ if (log.isWarnEnabled()) {
+ log.warn("HttpProxyServlet: bad Referer: " + referer);
+ }
+ response.setStatus(404);
+ return;
}
}
|
Show » |
|