Ticket #49 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

URL decode is not done properly in Strabon Endpoint (StoreBean)

Reported by: charnik Owned by: kalkan
Priority: minor Milestone: Strabon v3.2.11
Component: endpoint Version: all
Keywords: URL encode, URL decode, UTC offset, store, tomcat, StoreBean Cc: arnaud.saval@…


When storing xsd:dateTime literals with UTC offset, such as "2012-04-24T14:35:06+02:00", the URL decoding that is done makes the "+" character a space character. It is generally wrong to use URLdecode, since "+" characters are treated differently when in the query part of the URL or the path part.

For more details, see this nice blog post: http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about-url-encoding#Whichcharacterencoding%3F

See also the respective e-mail: http://cgi.di.uoa.gr/~mailman/pipermail/strabon-users/2013-September/000035.html
Thanks to Arnaud!


multipart_fileupload.patch (6.9 KB) - added by charnik 5 years ago.
possible bug fix implementing file upload functionality

Change History

Changed 5 years ago by charnik

possible bug fix implementing file upload functionality

comment:1 Changed 5 years ago by charnik

Forgot to mention that the patch is from Arnaud Saval! See also the respective e-mail at the strabon-users mailing list: http://cgi.di.uoa.gr/~mailman/pipermail/strabon-users/2013-September/000038.html.

comment:2 Changed 4 years ago by psmeros

  • Milestone set to Strabon v3.2.10

comment:3 Changed 4 years ago by psmeros

  • Owner changed from pyravlos-team to kalkan
  • Status changed from new to assigned

comment:4 Changed 4 years ago by charnik

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in changeset 1428:c3c98bd8540d.

Note: See TracTickets for help on using tickets.