skos_browser/commit

fixed: missing encodeURIComponent made hash concept uris fail. Joachim Neubert

authorJacco van Ossenbruggen
Fri May 9 17:20:57 2014 +0200
committerJacco van Ossenbruggen
Fri May 9 17:20:57 2014 +0200
commit0c1c368a44e0fa98967aa59dfe77119725bb66ca
treece61f7436d7b951a74b2b0e9cee68197e6ca67b4
parentceb089ea4d5d8abb9b19576eb3385f5eccca7e5c
Diff style: patch stat
diff --git a/applications/skos_browser.pl b/applications/skos_browser.pl
index 94ec4f9..0229772 100644
--- a/applications/skos_browser.pl
+++ b/applications/skos_browser.pl
@@ -52,7 +52,7 @@ yui_script -->
 js_item_select -->
 	{ http_location_by_id(http_concept_info, URL)
 	},
-	html(['var url = "',URL,'"+"?concept="+e.id;']),
+	html(['var url = "',URL,'"+"?concept="+encodeURIComponent(e.id);']),
 	yui3_load(one(id(detail)), symbol(url)).
 
 skos_api_datasource(DS) -->