URL substitutions and relative URLs in OEP 5
|Coriolis||06/27/2008 11:34 pm|
|OEP 5 seems to have an interaction between local-only URL substitutions and relative URLs on web pages that did not exist under OEP 4.9. This is causing a number of my projects to fail. I have gone back to the 4.9 version and the projects again work. The issue only affects relative URLs.
For example, if I am downloading server1.site.com, server2.site.com, server3.site.com ...
I have a local URL substitution *.site.com -> www.site.com. The substitution is unchecked, so this should only translate downloaded filenames to the local directory www.site.com. I do this so that files from all servers are saved to this single directory. This feature is very handy and I have been using it for quite some time.
The problem is that in OEP 5 relative URLs are being translated by the unchecked URL substitution rule. Relative URL "page1" on "server1.site.com", for example, is fetched as "www.site.com/page1" rather than "server1.site.com/page1". This causes a great many 404 errors. The URL is fetched correctly under OEP 4.9.
Absolute URLs still work. URL "server1.site.com/page1" is fetched from the correct server.
I have fallen back to the 4.9 release until this issue can be resolved. Thank you.
|Oleg Chernavin||06/28/2008 11:05 am|
|Could you please tell me some particular example - your rule, link and how it converts in 4.9 version and in 5.0? I need to reproduce this in order to fix.
|Coriolis||06/30/2008 11:04 pm|
|I have attached a simple project that exhibits this error. Run the project and then look in the queue for the translation of the "1.html" relative link. It is not pointing to the server/directory from which the parent link was fetched.
LastStarted=6/30/2008 11:00:41 PM
LastEnded=6/30/2008 11:01:06 PM
Substs=http://*.4chan.org/ http://*.4chan.org/ http://local-translation-only!!!.4chan.org/ X
|Oleg Chernavin||07/01/2008 05:30 am|
|Thank you! I just fixed that.
|Coriolis||07/01/2008 08:16 am|
|Excellent! Is there a beta version I could pick up?
Also, don''t you ever sleep? ;)
|Oleg Chernavin||07/01/2008 10:21 am|
|Yes, I manage to sleep sometimes. :-)
Here is the update:
|Coriolis||07/01/2008 05:53 pm|
|It works a champ. Thanks!|
|Oleg Chernavin||07/02/2008 04:38 am|