Bug #1553

URL encoded trailing spaces handled erroneously

Added by Miltiadis Vasilakis almost 10 years ago. Updated over 8 years ago.

Status:Closed Start date:10/23/2011
Priority:Medium Due date:
Assignee:- % Done:

100%

Category:Pithos Spent time: -
Target version:-

Description

Trailing pace characters are not handled correctly when URL encoded.
They are thrown away by the server, so when accessing object <object_prefix><spaces>,
<object_prefix> is accessed instead.

Associated revisions

Revision e414f54d
Added by Sofia Papagiannaki almost 10 years ago

Fixes trailing spaces handling

Fixes #1553

Revision e414f54d
Added by Sofia Papagiannaki almost 10 years ago

Fixes trailing spaces handling

Fixes #1553

Revision 12cd0417
Added by Sofia Papagiannaki almost 10 years ago

Fix sqlite & postgresql compatibility broken by fix for trailing spaces issue

Refs #1553

Revision 12cd0417
Added by Sofia Papagiannaki almost 10 years ago

Fix sqlite & postgresql compatibility broken by fix for trailing spaces issue

Refs #1553

Revision 3a4a6892
Added by Sofia Papagiannaki over 9 years ago

Change path type from blob to varchar

Refs #1553

Revision 3a4a6892
Added by Sofia Papagiannaki over 9 years ago

Change path type from blob to varchar

Refs #1553

History

#1 Updated by Miltiadis Vasilakis almost 10 years ago

Furthermore, this allows the creation of an object with an empty path, which may cause all sorts of trouble.

#2 Updated by Sofia Papagiannaki almost 10 years ago

this is how mysql 5.1 trailing space handling in comparisons.
more specifically: nonbinary strings have PADSPACE behavior for all collations, including _bin collations.
http://dev.mysql.com/doc/refman/5.1/en/charset-binary-collations.html

#3 Updated by Sofia Papagiannaki almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#4 Updated by Vangelis Koukis over 8 years ago

  • Project changed from Pithos to Synnefo

#5 Updated by Vangelis Koukis over 8 years ago

  • Category set to Pithos

Also available in: Atom PDF