Browse Source

Removed accidental commit of SavedRequest clearing code in TargetUrlResolverImpl

Luke Taylor 17 years ago
parent
commit
1d9d7eb9a7

+ 0 - 4
core/src/main/java/org/springframework/security/ui/TargetUrlResolverImpl.java

@@ -22,7 +22,6 @@ import javax.servlet.http.HttpServletRequest;
 
 import org.springframework.security.Authentication;
 import org.springframework.security.ui.savedrequest.SavedRequest;
-import org.springframework.security.util.UrlUtils;
 import org.springframework.util.Assert;
 import org.springframework.util.StringUtils;
 
@@ -72,9 +71,6 @@ public class TargetUrlResolverImpl implements TargetUrlResolver {
         if (savedRequest != null) {
             if (!justUseSavedRequestOnGet || savedRequest.getMethod().equals("GET")) {
                 targetUrl = savedRequest.getFullRequestUrl();
-            } else {
-            	// SavedRequest not used
-            	UrlUtils.clearSavedRequest(currentRequest);
             }
         }