From: cash Date: Sun, 14 Apr 2013 23:32:03 +0000 (-0400) Subject: Refs #5335 added unit test for underscore in relative path for JS url normalization X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=999f23c13e8c34f4cbae4af409446d037043d798;p=lorea%2Felgg.git Refs #5335 added unit test for underscore in relative path for JS url normalization --- diff --git a/js/tests/ElggLibTest.js b/js/tests/ElggLibTest.js index 2a676e22a..31b561923 100644 --- a/js/tests/ElggLibTest.js +++ b/js/tests/ElggLibTest.js @@ -78,6 +78,7 @@ ElggLibTest.prototype.testNormalizeUrl = function() { ['https://example.com', 'https://example.com'], ['http://example-time.com', 'http://example-time.com'], ['//example.com', '//example.com'], + ['mod/my_plugin/graphics/image.jpg', elgg.config.wwwroot + 'mod/my_plugin/graphics/image.jpg'], ['ftp://example.com/file', 'ftp://example.com/file'], ['mailto:brett@elgg.org', 'mailto:brett@elgg.org'],