incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r982946 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverWebConsolePlugin.java
Date Fri, 06 Aug 2010 13:11:27 GMT
Author: fmeschbe
Date: Fri Aug  6 13:11:27 2010
New Revision: 982946

URL: http://svn.apache.org/viewvc?rev=982946&view=rev
Log:
SLING-1219 Check the server name instead of the remote host (will always be null here)

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverWebConsolePlugin.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverWebConsolePlugin.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverWebConsolePlugin.java?rev=982946&r1=982945&r2=982946&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverWebConsolePlugin.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverWebConsolePlugin.java
Fri Aug  6 13:11:27 2010
@@ -208,7 +208,7 @@ public class JcrResourceResolverWebConso
                 // map or resolve as instructed
                 Object result;
                 if ("Map".equals(request.getParameter(ATTR_SUBMIT))) {
-                    if (helper.getRemoteHost() == null) {
+                    if (helper.getServerName() == null) {
                         result = resolver.map(helper.getPathInfo());
                     } else {
                         result = resolver.map(helper, helper.getPathInfo());



Mime
View raw message