amalgame/commit

FIXED: missing encodeURIComponent on autocomplete source/target vocabularies. Manfred Faden

authorJacco van Ossenbruggen
Fri Nov 7 13:46:06 2014 +0100
committerJacco van Ossenbruggen
Fri Nov 7 13:46:06 2014 +0100
commit9edba012967938ad83fe3bbef0a92d8547c0f856
treec2b5ea68a0880e46abd6907429ecf9f215e4ed00
parent206ae126035e68df06db437917b7eadb61cf7c70
Diff style: patch stat
diff --git a/web/js/evaluater.js b/web/js/evaluater.js
index 33848b1..88a267c 100644
--- a/web/js/evaluater.js
+++ b/web/js/evaluater.js
@@ -319,8 +319,8 @@ YUI.add('evaluater', function(Y) {
 			var paths    = this.get("paths");
 			var mappings = this.get('mappings');
 			var selected = this.get('selected');
-			var svoc = mappings[selected].stats.vocs.source.uri;
-			var tvoc = mappings[selected].stats.vocs.target.uri;
+			var svoc = encodeURIComponent(mappings[selected].stats.vocs.source.uri);
+			var tvoc = encodeURIComponent(mappings[selected].stats.vocs.target.uri);
 			var SourceConfig = { 
 				// our skos-specific ac attrs:
 				caller: this,