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 11, 2018
1 parent 2a690db commit 0f030d8
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

0 comments on commit 0f030d8

Please sign in to comment.