sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r660413 - /incubator/sling/trunk/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/LoginServlet.java
Date Tue, 27 May 2008 07:20:37 GMT
Author: cziegeler
Date: Tue May 27 00:20:37 2008
New Revision: 660413

URL: http://svn.apache.org/viewvc?rev=660413&view=rev
Log:
SLING-480: Use POST instead of GET.

Modified:
    incubator/sling/trunk/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/LoginServlet.java

Modified: incubator/sling/trunk/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/LoginServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/LoginServlet.java?rev=660413&r1=660412&r2=660413&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/LoginServlet.java
(original)
+++ incubator/sling/trunk/extensions/httpauth/src/main/java/org/apache/sling/httpauth/impl/LoginServlet.java
Tue May 27 00:20:37 2008
@@ -182,7 +182,7 @@
         pw.println("             xmlhttp.abort();");
         pw.println("         }");
 
-        pw.println("         xmlhttp.open('GET', '" + contextPath + "?"
+        pw.println("         xmlhttp.open('POST', '" + contextPath + "?"
             + AuthorizationHeaderAuthenticationHandler.REQUEST_LOGIN_PARAMETER
             + "=1', false, user, pass);");
 



Mime
View raw message