Patch by Mike Youngstrom to fix Jameleon stripping of slash.
This commit is contained in:
		
							parent
							
								
									12c58006b0
								
							
						
					
					
						commit
						27d89f3e91
					
				|  | @ -21,6 +21,8 @@ import org.springframework.beans.factory.InitializingBean; | ||||||
| 
 | 
 | ||||||
| import java.io.IOException; | import java.io.IOException; | ||||||
| 
 | 
 | ||||||
|  | import java.net.URLEncoder; | ||||||
|  | 
 | ||||||
| import javax.servlet.ServletException; | import javax.servlet.ServletException; | ||||||
| import javax.servlet.ServletRequest; | import javax.servlet.ServletRequest; | ||||||
| import javax.servlet.ServletResponse; | import javax.servlet.ServletResponse; | ||||||
|  | @ -94,7 +96,8 @@ public class CasProcessingFilterEntryPoint implements AuthenticationEntryPoint, | ||||||
|             url = loginUrl + "?renew=true" + "&service=" |             url = loginUrl + "?renew=true" + "&service=" | ||||||
|                 + serviceProperties.getService(); |                 + serviceProperties.getService(); | ||||||
|         } else { |         } else { | ||||||
|             url = loginUrl + "?service=" + serviceProperties.getService(); |             url = loginUrl + "?service=" | ||||||
|  |                 + URLEncoder.encode(serviceProperties.getService(), "UTF-8"); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         ((HttpServletResponse) response).sendRedirect(url); |         ((HttpServletResponse) response).sendRedirect(url); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue