Author: jablko
Date: Sun Sep 20 14:08:07 2009
New Revision: 3441
Log:
Interpret empty strings in URL encoding as null, since URL encoding doesn't
distinguish between the two, fixes issues 316 and 821
Modified:
trunk/lib/vendor/symfony/lib/validator/sfValidatorString.class.php
Modified: trunk/lib/vendor/symfony/lib/validator/sfValidatorString.class.php
==============================================================================
--- trunk/lib/vendor/symfony/lib/validator/sfValidatorString.class.php Sun Sep
20 14:03:34 2009 (r3440)
+++ trunk/lib/vendor/symfony/lib/validator/sfValidatorString.class.php Sun Sep
20 14:08:07 2009 (r3441)
@@ -43,8 +43,6 @@
$this->addOption('max_length');
$this->addOption('min_length');
-
- $this->setOption('empty_value', '');
}
/**
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---