demo page truncates first character of relative URL

silentway - May 19, 2009 - 06:39
Project:Import HTML
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:demo url
Description

This issue is regarding the Import HTML module's demo test function,
admin/build/import_html/demo

Tested with (Acquia) Drupal 6.10.

If a relative url is used rather than an absolute URL, the demo truncates the first character of the URL in the results. for example:

If the test page to be imported is located at:

http://www.supergreatdomain.com/test/page.html

and the url entered in the demo page's "URL to import" is merely:

test/page.html

Then the module only sees "est/page.html" (note the missing "t") and all resulting URLs in the HTML (and on the result page under "URL path settings") are missing that first character.

If the absolute URL is used:

http://www.supergreatdomain.com/test/page.html

It all comes out fine.

(My first issue report... corrections to my procedure are welcomed.)

 
 

Drupal is a registered trademark of Dries Buytaert.