MANTA-2803: Cannot mrmdir or mls in manta folder with parentheses in name

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2015-12-01T15:27:37.000Z
Updated at:2017-11-29T16:49:59.718Z

People

Created by:Olga Zaiceva [X]
Reported by:Olga Zaiceva [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2017-11-29T16:47:36.569Z)

Fix Versions

2017-12-07 Gold Saucer (Release Date: 2017-12-07)

Related Issues

Related Links

Description

Precondition:
Configure Manta CLI

export MANTA_URL=https://us-east.manta.joyent.com
export MANTA_USER=silvertree5764
export MANTA_KEY_ID=ed:3c:f1:ff:69:b8:f3:4b:06:df:d6:87:68:df:ee:75

Steps to reproduce:
1. Create folder with name which contains parentheses: ")" or "("

$ mmkdir /silvertree5764/public/1/')(Dsds'

2. List in the folder

$ mls /silvertree5764/public/1/')(Dsds'

Expected result: Contents of the folder should be displayed.
Actual result: Error occurs: `mget: InternalError: an unexpected error occurred`

3. Remove the folder

$ mrmdir /silvertree5764/public/1/')(Dsds'

Expected result: The folder should be removed.
Actual result: Error occurs: `mrmdir: InternalError: an unexpected error occurred`

Comments

Comment by David Pacheco
Created at 2015-12-01T16:19:39.000Z

This may be related to MANTA-2409.


Comment by Jira Bot
Created at 2017-11-29T16:47:41.371Z

manta-muskie commit b8572701cb060b262a94ef01e95f9a56bec726fa (branch master, by Kris Shannon)

MANTA-2409 Muskie pagination subject to Moray filter injection
MANTA-2803 Cannot mrmdir or mls in manta folder with parentheses in name
Reviewed by: Jordan Hendricks <jordan.hendricks@joyent.com>
Reviewed by: Cody Peter Mello <cody.mello@joyent.com>
Approved by: Cody Peter Mello <cody.mello@joyent.com>