diff --git a/exist-core/src/main/java/org/exist/xquery/functions/response/RedirectTo.java b/exist-core/src/main/java/org/exist/xquery/functions/response/RedirectTo.java index d676fc14df8..66a2d480636 100644 --- a/exist-core/src/main/java/org/exist/xquery/functions/response/RedirectTo.java +++ b/exist-core/src/main/java/org/exist/xquery/functions/response/RedirectTo.java @@ -48,7 +48,7 @@ public class RedirectTo extends StrictResponseFunction { new FunctionSignature( new QName("redirect-to", ResponseModule.NAMESPACE_URI, ResponseModule.PREFIX), "Sends a HTTP redirect response (302) to the client.", - new SequenceType[] { new FunctionParameterSequenceType("uri", Type.ANY_URI, Cardinality.EXACTLY_ONE, "The URI to redirect the client to") }, + new SequenceType[] { new FunctionParameterSequenceType("uri", Type.STRING, Cardinality.EXACTLY_ONE, "The URI to redirect the client to") }, new SequenceType(Type.EMPTY, Cardinality.EMPTY_SEQUENCE)); public RedirectTo(final XQueryContext context)