« Previous Next »

Thread: Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

Last post 01-08-2009 1:17 PM by JaroDunajsky. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 10-09-2008, 10:01 AM

    Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

    OK I'm having a weird problem that I would like to know if anyone else is experiencing.

    Windows 2008 server (RTM any version)

    IIS 7.0 with Webdav module and QFE hotfix with request filtering disabled or not installed.

    Try and copy a file with a file name containing a + symbol from another computer with a mapped network drive to the webdav share 'http://www.mytestsite.com/test'.  Like this:

    'This is a + test.txt'

     What I am seeing is that the file will be created but the + symbol will disappear. When saved to the webdav share the file will appear as:

    'This is a   test.txt'

    It seems webdav is not processing files with a + in the filename even though this is a totally valid file name in the win32 file system.

     Can anyone else confirm this?  I'm at a loss as to how we can go about fixing this problem.

    Cheers,

    Keith

  • 10-10-2008, 11:01 AM In reply to

    • eokim
    • Top 500 Contributor
    • Joined on 02-22-2008, 7:31 PM
    • Posts 24

    Re: Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

    It seems like '+' is not allowed in url.

    Please, refer to

    http://blogs.iis.net/thomad/archive/2007/12/17/iis7-rejecting-urls-containing.aspx

    Thanks.
  • 10-10-2008, 4:02 PM In reply to

    Re: Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

     I have already tried setting allowDoubleEscaping="true" and while it allows a file to be served (GET) when you do a webdav PUT the file 'This is a + test.txt' becomes 'This is a  test.txt'

     It seems like there is some kind of bug in the webdav module that does not properly URL encode/decode a file with a + symbol.

    'This is a + test.txt' should become:

    'This+is+a+%2B+test%2Etxt'

    However when the webdav module receives the PUT command it does not properly URL decode and instead becomes:

    'This is a  test.txt'

    I view this as a pretty serious bug because files with +'s in them are totally valid in the win32 file system.  Due to the nature of the files and customers I'm working with it is not possible for me to rename these files.

    Anyone from the IIS team want to comment?

  • 11-04-2008, 5:39 PM In reply to

    Re: Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

    Still experiencing this issue...  Can anyone else confirm the same issue? Anilr? IIS team?

  • 11-07-2008, 2:24 PM In reply to

    • vijaysen
    • Not Ranked
    • Joined on 08-18-2008, 3:48 PM
    • Posts 8

    Re: Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

    Keith,

    This is a bug and we are looking into this.

  • 11-17-2008, 4:01 PM In reply to

    Re: Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

    vijaysen:

    Keith,

    This is a bug and we are looking into this.

    Any updates on this bug status or work-a-rounds I can implement in the meantime?

    Cheers,

    Keith

  • 01-08-2009, 1:17 PM In reply to

    Re: Webdav - File names with + symbol not working correctly when copied to webdav mapped network drive

    The issue was fixed in the following WebDAV update http://support.microsoft.com/kb/957001

    Jaroslav Dunajsky (MSFT, IIS)
Page 1 of 1 (7 items)
Microsoft Communities