I am writing a general-purpose agent for a client using CFHTTP to:
Retrieve a Page
Resolve the URLS
Repoint the URLs back to the agent (for recursion)
This allows the client to control the rendering of all linked pages
and any pages that they, in turn link.
I am experiencing a problem with relative URLS... they aren't being
resolved properly. Especially URLs such as:
Target URL: http://www.somedomain.com/Level_1_Folder_A/somepage.html
contains: ...SRC="../Level_1_Folder_B/someotherpage.html
This Gets resolved to:
http://../Level_1_Folder_B/someotherpage.html
It should be:
http://www.somedomain.com/Level_1_Folder_B/someotherpage.html
I can detect/fix this myself, but it's a real pain (especially if the
target page is a FrameSet)
I am on CF 4.0 (hosted by an ISP)
I am sure this worked on CF 3.0 (long ago and far away)
My question is this:
Is there a fix to this bug for CF 4,0?
TIA
Dick
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.