6 changed files with 33 additions and 24 deletions
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
package org.springframework.security.itest.web; |
||||
|
||||
import java.io.IOException; |
||||
|
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
import org.springframework.stereotype.Controller; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RequestMethod; |
||||
|
||||
@Controller |
||||
public class TestController { |
||||
|
||||
@RequestMapping(value="/secure/file?with?special?chars.htm", method=RequestMethod.GET) |
||||
public void sec1255TestUrl(HttpServletResponse response) throws IOException { |
||||
response.getWriter().append("I'm file?with?special?chars.htm"); |
||||
} |
||||
|
||||
} |
||||
@ -1,12 +0,0 @@
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE html |
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
||||
<head> |
||||
<title>Special Chars File</title> |
||||
</head> |
||||
<body> |
||||
<p>I'm file?with?special?chars.html</p> |
||||
</body> |
||||
</html> |
||||
Loading…
Reference in new issue