1
0
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:
Lars Jung
2014-06-01 20:52:48 +02:00
parent c224de1994
commit 9269bd6898

View File

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