1
0
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:
Patrik J. Braun 2022-08-20 22:36:42 +02:00 committed by GitHub
commit 1e8830ab09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')
); );
} }