hannesmannerheim / qvitter

mirror. moved to https://git.gnu.io/h2p/Qvitter, send merge requests and issues there
https://git.gnu.io/h2p/Qvitter
GNU Affero General Public License v3.0
86 stars 26 forks source link

$_GET['p'] is not always set (like when using PATH_INFO) #181

Closed ghost closed 9 years ago

ghost commented 9 years ago

This uses the function in GNU social index.php which does the exact same filtering as desired by Qvitter, but in a compatible way with both the querystring and PATH_INFO rewrite rules for webservers.

ghost commented 9 years ago

This fixes the problem of not being able to see the profile box on a user's profile page on servers which don't rewrite to ?p=... but instead /index.php/blah (and thus use the server's PATH_INFO string)

hannesmannerheim commented 9 years ago

tack!