Hi,
I'm using ODK Collect as the client with a custom server.
In my formList, the downloadUrl of some forms (as it appears in the
formList) contains the "+" character in the query, such as:
the_form_id
form name
http://www.example.net/path/etc/getform.php?someparam=some+value
When this happens, ODK Collect gives the following error when trying to
download that form:
Illegal character in query at index XX:
http://www.example.net/path/etc/getform.php?someparam=some value
where XX is the index where the "+" appears. Note that the url is shown
with a space, but it actually has a "+" sign, not a space.
Is this a bug? Isn't the "+" a perfectly legal character in queries, and
indeed the correct character to represent a space in a query??
Thanks
m.
i thought i caught all these url encoding issues in the latest rc, but
i guess not. it's been filed at
http://code.google.com/p/opendatakit/issues/detail?id=405. follow it
there.
ยทยทยท
On Sun, Oct 30, 2011 at 09:14, Matteo Sisti Sette wrote:
> Hi,
>
> I'm using ODK Collect as the client with a custom server.
>
> In my formList, the downloadUrl of some forms (as it appears in the
> formList) contains the "+" character in the query, such as:
>
>
>
> the_form_id
> form name
>
> http://www.example.net/path/etc/getform.php?someparam=some+value
>
>
>
>
>
> When this happens, ODK Collect gives the following error when trying to
> download that form:
>
> Illegal character in query at index XX:
> http://www.example.net/path/etc/getform.php?someparam=some value
>
> where XX is the index where the "+" appears. Note that the url is shown with
> a space, but it actually has a "+" sign, not a space.
>
>
> Is this a bug? Isn't the "+" a perfectly legal character in queries, and
> indeed the correct character to represent a space in a query??
>
> Thanks
> m.
>