2006/unicorn/org/w3c/unicorn/input URIInputModule.java,1.1.1.1,1.2

Update of /sources/public/2006/unicorn/org/w3c/unicorn/input
In directory hutz:/tmp/cvs-serv17841/org/w3c/unicorn/input

Modified Files:
	URIInputModule.java 
Log Message:
Fixed bug with no-escaped "&" in URI to input method.

Index: URIInputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/input/URIInputModule.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- URIInputModule.java	31 Aug 2006 09:09:25 -0000	1.1.1.1
+++ URIInputModule.java	25 Sep 2006 15:42:55 -0000	1.2
@@ -14,6 +14,7 @@
 
 import org.w3c.unicorn.Framework;
 import org.w3c.unicorn.contract.EnumInputMethod;
+import org.w3c.unicorn.output.EscapeXMLEntities;
 import org.w3c.unicorn.util.Property;
 
 /**
@@ -40,6 +41,7 @@
 		}
 		this.aMimeType = aMimeType;
 		this.sURI = (String) oInputParameterValue;
+		this.sURI = EscapeXMLEntities.escapeText(this.sURI);
 	}
 
 	protected URIInputModule (final InputModule aInputModule) throws IOException {

Received on Monday, 25 September 2006 15:43:10 UTC