mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Merge pull request #521 from AndGem/issue_498_fixing_escaping_of_question_mark
encoding of question mark character for media path - fixes issue #498
This commit is contained in:
commit
1e8830ab09
@ -42,6 +42,7 @@ export class MediaIcon {
|
|||||||
// .replace(new RegExp('%', 'g'), '%25') // order important
|
// .replace(new RegExp('%', 'g'), '%25') // order important
|
||||||
.replace(new RegExp('#', 'g'), '%23')
|
.replace(new RegExp('#', 'g'), '%23')
|
||||||
.replace(new RegExp('\\$', 'g'), '%24')
|
.replace(new RegExp('\\$', 'g'), '%24')
|
||||||
|
.replace(new RegExp('\\?', 'g'), '%3F')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user