% is also not ok in pdf names
This commit is contained in:
parent
565f0bb5fa
commit
1d9e43b551
1 changed files with 3 additions and 1 deletions
|
@ -2641,7 +2641,9 @@ pandora.openURL = function(url) {
|
|||
};
|
||||
|
||||
pandora.safeDocumentName = function(name) {
|
||||
name = name.replace('?', '_').replace('#', '_');
|
||||
['?', '#', '%'].forEach(function(c) {
|
||||
name = name.replace(c, '_');
|
||||
})
|
||||
return name;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue