Possible bug/problem with spaces in fully qualified paths

28 views
Skip to first unread message

Jonathan Spungen

unread,
Jan 17, 2011, 5:42:39 PM1/17/11
to dir...@googlegroups.com

Hello,

Thanks for developing this tool. I'm hoping you can help with an issue I'm having. This is a "All links in one file" build with depths of 1, no file specification, folder table created, no anchor table. My goal is to get nothing more than a list of links to all of the folders in the root directory, and it works fine with relative links, but not with qualified links. With "Fully qualified paths to links" checked, spaces seem to be changed to %2520 rather than %20:

location: V:\File Cabinet\Project Files\00 - Cust ID - Customer Name\

relative link produced (works): file:///V:/File%20Cabinet/Project%20Files/00%20-%20Cust%20ID%20-%20Customer%20Name/

qualified link produced (doesn't work): file:///V:/File%2520Cabinet/Project%2520Files/00%2520-%2520Cust%2520ID%2520-%2520Customer%2520Name/

Any ideas?

Thanks,
Jon

dirhtml

unread,
Jan 17, 2011, 7:12:54 PM1/17/11
to dirhtml discussion group
I can see what is happening. Your folder probably isn't named "00 -
Cust ID - Customer Name," it's named "00%20-%20Cust%20ID%20-%20Customer
%20Name".

Dirhtml is replacing the "%" with the html code for percent "%25."
This is making %20's translate to %2520, which I believe is
theoretically correct syntax.

There is however another problem with fully qualified folder links.
They should have a drive letter, which they presently don't if the
root folder is relative (e.g. \some-folder\subfolder). This is fixed
in v4.856 ALPHA 2, available at http://dirhtml.home.comcast.net/~dirhtml/dirhtml_-_v4-856_ALPHA.zip
.

Note that v4.856 isn't ready for general use yet, as there are several
outstanding issues.
Reply all
Reply to author
Forward
0 new messages