Trailing slash missing in directory URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Aaron Wells | ||
1.5 |
Fix Released
|
Low
|
Aaron Wells | ||
1.6 |
Fix Released
|
Low
|
Aaron Wells | ||
1.7 |
Fix Released
|
Low
|
Aaron Wells |
Bug Description
In https:/
After a bit of troubleshooting, it turned out that the problem was caused in part, by the fact that in raw/templates/
With most web servers, if you try to access a directory, but leave the trailing slash off the end, you will be redirected to the same URL with a trailing slash. (See http://
Since this can cause problems for some users, and since the correct URL for a directory has a trailing slash on the end anyway, we should fix this so that our directory URLs have a trailing slash. At the least, it'll save on a little bit of web traffic, by avoiding a redirect.
This problem was noticed in /view/blocks.tpl, but it's possible it could occur in other templates as well.
no longer affects: | mahara/1.8 |
no longer affects: | mahara/trunk |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | 1.8rc1 → 1.8.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
I found this issue present in all of the links associated with the "getting started" homepage information block that is visible, by default, on your dashboard page (see attached).
If you click any of the links, it does what Aaron reported above.
There could be other places this pops up as well, but this has been the most problematic area since a lot of new users end up clicking those links to try and navigate around.