aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-04-14 19:32:03 -0400
committercash <cash.costello@gmail.com>2013-04-14 19:32:03 -0400
commit999f23c13e8c34f4cbae4af409446d037043d798 (patch)
tree0a1439cfbe7283db9ac6b25f08af647ad6335d92 /js
parent879044a0e6aca8de2e36d414ecd5d41c130c1e36 (diff)
downloadelgg-999f23c13e8c34f4cbae4af409446d037043d798.tar.gz
elgg-999f23c13e8c34f4cbae4af409446d037043d798.tar.bz2
Refs #5335 added unit test for underscore in relative path for JS url normalization
Diffstat (limited to 'js')
-rw-r--r--js/tests/ElggLibTest.js1
1 files changed, 1 insertions, 0 deletions
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'],