Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2013-08-23 03:11:57 -0400
committerGreg Wilkins2013-08-23 03:11:57 -0400
commit2a178a29fd335b600d0236cbd2eeb37b53b25d53 (patch)
tree49908e9676b4426920afcbba650c868ac02e036f
parentb33b5f2f5d1d7d69b8fb3c3b0ef85c9fd94036a8 (diff)
downloadorg.eclipse.jetty.project-2a178a29fd335b600d0236cbd2eeb37b53b25d53.tar.gz
org.eclipse.jetty.project-2a178a29fd335b600d0236cbd2eeb37b53b25d53.tar.xz
org.eclipse.jetty.project-2a178a29fd335b600d0236cbd2eeb37b53b25d53.zip
413684 deprecated unsafe alias checkers
removed debugs
-rw-r--r--jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java23
1 files changed, 0 insertions, 23 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
index b865276441..414ac95474 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
@@ -1579,25 +1579,6 @@ public class ContextHandler extends ScopedHandler implements Attributes, Server.
{
path = URIUtil.canonicalPath(path);
Resource resource = _baseResource.addPath(path);
-
- System.err.println();
- System.err.println("resource="+resource);
- try
- {
- System.err.println("path="+path);
- System.err.println("resource="+resource);
- System.err.println("resource.getURI()="+resource.getURI());
- System.err.println("resource.getURL()="+resource.getURL());
- System.err.println("resource.getAlias()="+resource.getAlias());
- System.err.println("resource.getFile() ="+resource.getFile());
- System.err.println("resource.getFile().getCanonicalPath()="+resource.getFile().getCanonicalPath());
- System.err.println("resource.getFile().getAbsolutePath() ="+resource.getFile().getAbsolutePath());
- System.err.println("resource.exists() ="+resource.exists());
- }
- catch(Exception e)
- {
- e.printStackTrace();
- }
// Is the resource aliased?
if (!_aliases && resource.getAlias() != null)
@@ -1605,21 +1586,17 @@ public class ContextHandler extends ScopedHandler implements Attributes, Server.
if (LOG.isDebugEnabled())
LOG.debug("Aliased resource: " + resource + "~=" + resource.getAlias());
- System.err.println("ALIAS="+resource.getAlias());
// alias checks
for (Iterator<AliasCheck> i=_aliasChecks.iterator();i.hasNext();)
{
AliasCheck check = i.next();
- System.err.println("check="+check);
if (check.check(path,resource))
{
- System.err.println("OK???");
if (LOG.isDebugEnabled())
LOG.debug("Aliased resource: " + resource + " approved by " + check);
return resource;
}
}
- System.err.println("NULL ALIAS");
return null;
}

Back to the top