Slashes in file:// links

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
andersnielsen
Posts: 5
Joined: Mon Nov 08, 2004 1:39 pm

Slashes in file:// links

Post by andersnielsen »

Hi there,

I've got a feature that I'd like to get rid of... If I create a link with a file://\\testserver\testdir\test.ppt it automatically appends a \ (backslash) at the end, so the link is changed to file://\\testserver\testdir\test.ppt\ instead.

That's a problem, as it then kindof ruins the file:// link :-/

I KNOW that the Windows way of specifiying links with \\ in href's aren't correct, but the users of my forum insists of doing it that way :(

Is there some way of getting rid of that backslash at the end of the link?!

Thanks
Anders
andersnielsen
Posts: 5
Joined: Mon Nov 08, 2004 1:39 pm

Correction!

Post by andersnielsen »

My fault - it doesn't append a \ - it appends a / ! Big difference...
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I'll test this issue.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ardiederich
Posts: 55
Joined: Tue Aug 10, 2004 3:02 pm

How about mapped network drives?

Post by ardiederich »

Windows tends to have troubles with file commands to \\server\share types, anyway. I've found that you usually have to map network drives, which unfortunately are user-specific. Sometimes I've even had to make null-session shares, which are insecure. Does the problem happen if you map the drive, too?

Andrew Diederich
Thorsten
Posts: 15741
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

HI,

I only test phpMyFAQ on my Windows XP laptop and with no network shares. I will try to emulate your problem...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply