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 10236] - MOVE method loses last character off of file name
Date Thu, 31 Oct 2002 20:58:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10236>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10236

MOVE method loses last character off of file name





------- Additional Comments From trawick@apache.org  2002-10-31 20:58 -------
It turns out that there are other lose-last-character PRs out there.

Somebody just posted a tiny patch to PR 14147.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14147

--- request.c.bak       Tue Oct 22 10:20:09 2002
+++ request.c   Tue Oct 22 10:20:11 2002
@@ -918,6 +918,8 @@
             /* That temporary trailing slash was useful, now drop it.
              */
             if (temp_slash) {
+                temp_slash = 0;
+                if (r->filename[filename_len-1] == '/')
                 r->filename[--filename_len] = '\0';
             }

It would be great to find out whether or not this fix resolves your
problem.

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


Mime
View raw message