Skip to content

Commit 5aca43a

Browse files
committed
Change CRLF to LF for issue 356.
1 parent 21d2171 commit 5aca43a

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<!--
4-
This test file exemplifies a restrict-extension rule.
5-
6-
Protection #1: any URI ending with .log will be rejected
7-
Protection #2: any URI ending with .jsp will be allowed
8-
-->
9-
10-
<policy>
11-
12-
<settings>
13-
<mode>redirect</mode>
14-
<error-handling>
15-
<default-redirect-page>/security/error.jsp</default-redirect-page>
16-
<block-status>403</block-status>
17-
</error-handling>
18-
</settings>
19-
20-
<url-rules>
21-
<restrict-extension deny="\.log$" />
22-
<restrict-extension allow="\.jsp$" />
23-
</url-rules>
24-
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--
4+
This test file exemplifies a restrict-extension rule.
5+
6+
Protection #1: any URI ending with .log will be rejected
7+
Protection #2: any URI ending with .jsp will be allowed
8+
-->
9+
10+
<policy>
11+
12+
<settings>
13+
<mode>redirect</mode>
14+
<error-handling>
15+
<default-redirect-page>/security/error.jsp</default-redirect-page>
16+
<block-status>403</block-status>
17+
</error-handling>
18+
</settings>
19+
20+
<url-rules>
21+
<restrict-extension deny="\.log$" />
22+
<restrict-extension allow="\.jsp$" />
23+
</url-rules>
24+
2525
</policy>

0 commit comments

Comments
 (0)