Skip to content

Commit

Permalink
[XrdCl] xrdfs ls should not include opaque info in the path, fixes #331
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Mar 11, 2016
1 parent d233737 commit b33ac0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/XrdCl/XrdClXRootDResponses.hh
Expand Up @@ -669,7 +669,8 @@ namespace XrdCl
//------------------------------------------------------------------------
void SetParentName( const std::string &parent )
{
pParent = parent;
size_t pos = parent.find( '?' );
pParent = pos == std::string::npos ? parent : parent.substr( 0, pos );
if( !pParent.empty() && pParent[pParent.length()-1] != '/' )
pParent += "/";
}
Expand Down

0 comments on commit b33ac0c

Please sign in to comment.