Skip to content

Commit

Permalink
Merge pull request #32628 from owncloud/escape-urlencode
Browse files Browse the repository at this point in the history
Escapre urlencoding of strings to allow them read properly
  • Loading branch information
Vincent Petry authored Sep 27, 2018
2 parents 9e9ed13 + ef8f94a commit 6e2d041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/js/sharedialoglinklistview.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
var index = 1;
var baseName = t('core', '{fileName} link', {
fileName: this.fileInfoModel.get('name')
});
}, null, {escape: false});
var name = baseName;

while (this.collection.findWhere({name: name})) {
Expand Down
2 changes: 1 addition & 1 deletion core/js/sharedialogview.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) {
text = t('core', '{sharee} (group)', {
sharee: text
});
}, null, {escape: false});
} else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE) {
if (item.value.server) {
text = t('core', '{sharee} (at {server})', {
Expand Down

0 comments on commit 6e2d041

Please sign in to comment.