[mythtv-commits] Ticket #9736: mythweb sorting links resolving to wrong url
MythTV
noreply at mythtv.org
Sun Apr 17 18:16:22 UTC 2011
#9736: mythweb sorting links resolving to wrong url
--------------------------------------------+------------------------
Reporter: ajlill@… | Owner: kormoc
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.24-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------------+------------------------
All of the sorting links are resolving to
http://host/mythweb/mythweb.php?sortby=whatever.
I traced this to {{{$_SERVER['PATH_INFO']}}} returning
/mythweb/mythweb.php in include/sorting.php:get_sort_link() when it is
expected to return /tv/upcoming, for example.
I fixed it by changing this to {{{$_GET['PATH_INFO']}}}
This worked on debian lenny, running php version 5.2.6.dfsg.1-1+lenny9
but not on debian squeeze running php version 5.3.3-7+squeeze1
also, I use fcgi instead of libapache-mod-php5, though it didn't matter in
lenny.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9736>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list