relative links without URI but only "?bla=1"
It seems that PhpDig (1.8.3) follows links like
<a href="?a=1&b=2">link</a> on http://localhost/path to http://localhost?a=1&b=2 instead of http://localhost/path?a=1&b=2 |
FIXED.. :)
in admin/robot_functions in line 780 add this: Code:
elseif (substr($regs[8],0,1) == "?") { HTML Code:
<a href="?param=1">Link</a> I hope this makes it into the next release. Thank you. |
bugfix: handle href="?getparam=x" correctly
|
Fix for the fix.. replace the code I've suggested with this one.
The previous code would build links like "someuri.html?page=5?page=6".. :/ Code:
elseif( $regs[8]{0} == '?' ) Code:
elseif (substr($regs[8],0,1) == "/") { Code:
else { |
All times are GMT -8. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.