Bug #3275

ValidatorResolver can't parse validator arguments containing round brackets

Added by Robert Lemke about 12 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
Validation
Start date:
2009-05-12
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

Currently validation arguments defined in @validate annotations cannot contain round brackets ')' because they'd be interpreted as the end of an argument expression. Additionally they can't contain commas and probably not even equal signs.

Make sure that either special characters can be escaped or that the values of the validation arguments have to be put into quotes.

Especially important for the RegularExpressionValidator.

#1

Updated by Robert Lemke about 12 years ago

  • Assignee deleted (Andreas Förthner)
#2

Updated by Robert Lemke about 12 years ago

  • Target version changed from 1.0 alpha 1 to 283
#3

Updated by Robert Lemke about 12 years ago

  • Priority changed from Should have to Must have
  • Target version changed from 283 to 1.0 alpha 2
#4

Updated by Karsten Dambekalns almost 12 years ago

  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
#5

Updated by Karsten Dambekalns almost 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2657.

Also available in: Atom PDF