![]() |
Relative links to follow in meta-refresh and Javascript
Hi,
I found out, that Phpdig 1.6.2 does not follow meta-refresh urls, if the are relative. It does follow, if the urls are absolute. The same with Javascript links. I guess there are good reasons for this, but since a lot of sites and pages are using refresh-redirects or navigations with relative Javascript links, Phpdig should be able to deal with it. Actually, it should just take the current directory (without the document itself) and should then add the document name. I know, that this can also cause some trouble with Javascript-defined directories. So maybe we can make a feature, which can be enabled in the config. Regards, Olaf |
Hmmm, the problem seams to be more complex then I thought. Phpdig seams to successfully parse meta-refresh-redirects with documents only, like:
Code:
...0, url=index.php ... Code:
...0, url=subdirectory1/subdirectory2/index.php ... Someone with a patch? |
Hi. Thanks for the info. Can you please post the requests that show in your raw log files, or is it that PhpDig completely ignores the cases where the relative URL is like subdirectory1/subdirectory2/index.php?
|
It does ignore the cases.
|
Okay, thanks, will look into it. :)
|
All times are GMT -8. The time now is 05:30 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.