httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45646] New: Filenames with multiple dots not handled correctly
Date Mon, 18 Aug 2008 15:56:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45646

           Summary: Filenames with multiple dots not handled correctly
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: mod_dav
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: barmeier@barmeier.com


After enabling DAV with a2en dav and a2en dav_lock and using the following
conf:

...

        Alias /storage /var/www/desert/storage
        <Directory /var/www/desert/storage>
                Dav On
                DavDepthInfinity on
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
...

I encounter the following problem:
when putting files on /storage that have a filename that is equal except for an
additional extension I got a 404 error message when putting both files on the
server. 

To clarify this here is a cadaver log showing the problem:

dav:/storage/> put text.php.org
Uploading text.php.org to `/storage/text.php.org':
Progress: [=============================>] 100,0% of 2065 bytes succeeded.
dav:/storage/> put text.php
Uploading text.php to `/storage/text.php':
Progress: [=============================>] 100,0% of 2065 bytes failed:
404 Not Found

The bug is more strange after changing the upload order:

dav:/storage/> ls
Listing collection `/storage/': collection is empty.
dav:/storage/> put text.php
Uploading text.php to `/storage/text.php':
Progress: [=============================>] 100,0% of 2065 bytes succeeded.
dav:/storage/> put text.php.org
Uploading text.php.org to `/storage/text.php.org':
Progress: [=============================>] 100,0% of 2065 bytes succeeded.
dav:/storage/> ls
Listing collection `/storage/': succeeded.
        text.php                            2065  Aug 18 17:52
        text.php.org                        2065  Aug 18 17:52
dav:/storage/> rm text.php
Deleting `text.php': succeeded.
dav:/storage/> put text.php
Uploading text.php to `/storage/text.php':
Progress: [=============================>] 100,0% of 2065 bytes failed:
404 Not Found
dav:/storage/>


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message