I was checking the validity of my project's HTML and noticed that some
things weren't being escaped properly. After investigating, I
discovered the problems were in certain places where I am outputting
an array with string keys.
Basically, in my code I am doing this:
// Action
$this->foo = array(
Yes, this solved my problem - thanks! Not sure why this solution
didn't occur to me, even though I read the factories config reference
talking about the sfNoStorage class. :)
I created a separate 'tasks' environment with sfNoStorage specified as
the session storage option, and all the warnings are
I am writing a custom task for my Symfony project. In it I am sending
a bunch of e-mails generated using content from the database. To
compose the e-mail message, I am using an instance of sfPartialView so
that I can use the same partial template for each message and
substitute in the data.
The sf
I have a couple of forms with many sfValidatorString validators on
them. The default 'max_length' error message ('"%value%" is too long
(%max_length% characters max).') is really not suitable to the way my
forms are laid out in the HTML, because repeating the too-long value
within the message throw