Ticket #505 (testing defect: fixed)
$msid vs $sid, loop in list-cache.php
| Reported by: | mortonda@… | Owned by: | mortonda@… |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.3 |
| Component: | PHP scripts | Version: | 1.0.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by mortonda@…) (diff)
list-cache.php illustrates a bigger problem throughout the codebase, where $sid and $msid are used to inject a php session id when needed into links. This convention predates my involvement in Maia, but I think the m stands for multiple, meaning it is used whenever there are more parameters to pass on, which is the error in list-cache.php.
Of interest, though, is the fact that $msid is also correct in single use situations - a trailing '&' doesn't affect anything. So should we just change authcheck.php to make $msid and $sid be equal, being '?PHPSESSID=' . session_id() . '&'
Change History
Note: See
TracTickets for help on using
tickets.

