Skip to content

Commit

Permalink
remove duplicate call to decodeURIComponent
Browse files Browse the repository at this point in the history
Signed-off-by: Bernd Stellwag <burned@zerties.org>
  • Loading branch information
burned42 committed Oct 10, 2018
1 parent 2a690db commit 6c76dcd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/js/files/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,6 @@
path = path.substr(0, path.length - 1);
}

path = decodeURIComponent(path);

if (response.propStat.length === 0 || response.propStat[0].status !== 'HTTP/1.1 200 OK') {
return null;
}
Expand Down

1 comment on commit 6c76dcd

@theendcomplete
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Please sign in to comment.