Commit 816552a
committed
With mapperContextRootRedirectEnabled ste to false, the redirect needs to be handled elsewhere.
- Ensure the Mapper does not add the '/'
- Handle the redirect in the DefaultServlet
- Add a redirect to FORM auth if auth is occurring at the context root else the login page could be submitted to the wrong web application
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1716882 13f79535-47bb-0310-9956-ffa450edef68
1 parent 24c8d8c commit 816552a
File tree
3 files changed
+47
-19
lines changed- java/org/apache/catalina
- authenticator
- mapper
- servlets
3 files changed
+47
-19
lines changedLines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
222 | 236 | | |
223 | 237 | | |
224 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
839 | 838 | | |
840 | 839 | | |
841 | 840 | | |
842 | | - | |
843 | | - | |
844 | | - | |
| 841 | + | |
845 | 842 | | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | 843 | | |
851 | | - | |
| 844 | + | |
852 | 845 | | |
853 | 846 | | |
854 | 847 | | |
| |||
1002 | 995 | | |
1003 | 996 | | |
1004 | 997 | | |
1005 | | - | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
1006 | 1005 | | |
1007 | 1006 | | |
1008 | 1007 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
334 | 338 | | |
335 | 339 | | |
336 | 340 | | |
| |||
356 | 360 | | |
357 | 361 | | |
358 | 362 | | |
359 | | - | |
| 363 | + | |
360 | 364 | | |
361 | 365 | | |
362 | 366 | | |
| |||
686 | 690 | | |
687 | 691 | | |
688 | 692 | | |
689 | | - | |
| 693 | + | |
| 694 | + | |
690 | 695 | | |
691 | 696 | | |
692 | 697 | | |
| |||
696 | 701 | | |
697 | 702 | | |
698 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
699 | 710 | | |
700 | 711 | | |
701 | 712 | | |
| |||
811 | 822 | | |
812 | 823 | | |
813 | 824 | | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
| 825 | + | |
821 | 826 | | |
822 | 827 | | |
823 | 828 | | |
| |||
1026 | 1031 | | |
1027 | 1032 | | |
1028 | 1033 | | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1029 | 1044 | | |
1030 | 1045 | | |
1031 | 1046 | | |
| |||
0 commit comments