You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/08/18 17:56:28 UTC
DO NOT REPLY [Bug 45646] New: Filenames with multiple dots not
handled correctly
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
DO NOT REPLY [Bug 45646] Filenames with multiple dots not handled
correctly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45646
Will Rowe <wr...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Will Rowe <wr...@apache.org> 2008-08-18 10:55:11 PST ---
Your observed behavior is consistent with Multiviews; they are simply not
compatible with a canonical filesystem. Disable them for any DAV space.
--
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