From 4414819f8ab020504ddbc12da63cc680240175b8 Mon Sep 17 00:00:00 2001 From: Joe Wicentowski Date: Tue, 6 Dec 2022 22:33:09 -0500 Subject: [PATCH] Switch one function from anyURI to string --- .../java/org/exist/xquery/functions/response/RedirectTo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)