PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Requests

Reply
 
Thread Tools
Old 09-22-2003, 11:01 AM   #1
obottek
Green Mole
 
Join Date: Sep 2003
Posts: 15
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
obottek is offline   Reply With Quote
Old 09-23-2003, 06:12 AM   #2
obottek
Green Mole
 
Join Date: Sep 2003
Posts: 15
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 ...
But it does not parse the same situation with directories involved, like:

Code:
...0, url=subdirectory1/subdirectory2/index.php ...
Well I would call this a bug.

Someone with a patch?
obottek is offline   Reply With Quote
Old 10-05-2003, 10:05 AM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 10-05-2003, 10:18 AM   #4
obottek
Green Mole
 
Join Date: Sep 2003
Posts: 15
It does ignore the cases.
obottek is offline   Reply With Quote
Old 10-05-2003, 10:20 AM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Okay, thanks, will look into it.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will not follow links td234 Troubleshooting 2 01-27-2005 05:37 AM
relative links without URI but only "?bla=1" blueyed Bug Tracker 3 12-06-2004 02:23 AM
Making Search Spider Follow Links? demo Coding & Tutorials 1 08-08-2004 05:22 PM
javascript links tomas Troubleshooting 1 02-12-2004 05:26 PM
Indexing javascript links paulx82 How-to Forum 1 01-18-2004 08:43 AM


All times are GMT -8. The time now is 11:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.