mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-18 11:41:18 +02:00
More URL fixes.
This commit is contained in:
@@ -15,6 +15,7 @@ modulejs.define('core/location', ['_', 'modernizr', 'core/settings', 'core/event
|
||||
return href
|
||||
.replace(/\/+/g, '/')
|
||||
|
||||
.replace(/ /g, '%20')
|
||||
.replace(/!/g, '%21')
|
||||
.replace(/#/g, '%23')
|
||||
.replace(/\$/g, '%24')
|
||||
|
Reference in New Issue
Block a user