[Bugs] [Bug 1465024] New: glusterfind: DELETE path needs to be unquoted before further processing

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 26 12:48:51 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1465024

            Bug ID: 1465024
           Summary: glusterfind: DELETE path needs to be unquoted before
                    further processing
           Product: GlusterFS
           Version: mainline
         Component: glusterfind
          Assignee: bugs at gluster.org
          Reporter: mchangir at redhat.com
        QA Contact: bugs at gluster.org
                CC: amukherj at redhat.com, ashah at redhat.com,
                    avishwan at redhat.com, bugs at gluster.org,
                    khiremat at redhat.com, rhs-bugs at redhat.com,
                    storage-qa-internal at redhat.com
            Blocks: 1465011



+++ This bug was initially created as a clone of Bug #1465011 +++

Description of problem:
path collected for UNLINK/RMDIR operations is not correctly unquoted, this
causes the '%2F' character sequence quoted as '%252F'

Version-Release number of selected component (if applicable):
glusterfs-3.8.4-28
(probably earlier versions as well)

How reproducible:
100%


Steps to Reproduce:
1. create glusterfind session on any volume type
2. create file dir1/dir2/dir3/file1.txt at mount point
3. wait for changelog to roll-over
4. run glusterfind pre without --no-encode to list the NEW entry
5. run glusterfind post
6. delete dir1/dir2/dir3/file1.txt
7. wait for changelog to roll-over
8. run glusterfind pre without --no-encode to list the DELETE entry

Actual results:
entry will be seen as
DELETE dir1%252Fdir2%252Fdir3%252Ffile1.txt


Expected results:
DELETE dir1%2Fdir2%2Fdir3%2Ffile1.txt

Additional info:


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1465011
[Bug 1465011] glusterfind: DELETE path needs to be unquoted before further
processing
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list