I'm sure I could have sat here the rest of the month and not figured it out. I wasn't even aware that greedy matching was matching the first <table> tag and the last </table> tag, hence an array with one element.
I've started messing around with Ruby on Rails; so far much friendly than Symfony and PHP. For some reason, having everything as an object seems to make more sense to me - understanding wise - than only having some things as objects, and even then mostly procedural code inside methods, a la PHP. Thanks again, Dean -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Smith Sent: Wednesday, February 25, 2009 2:21 PM To: symfony users Subject: [symfony-users] Re: Redirect escaping ampersand The url listed also shows in the browser, both msie and ff, which makes all query string variables beyond the first one unreadable. On Feb 25, 11:50 am, Tom Haskins-Vaughan <[email protected]> wrote: > What does the redirected URL look like in your browser? What browser are > you using? Have you tried a different browser? Do you get a different > result? > > > > Michael Smith wrote: > > Sorry, 1.2 branch > > > On Feb 25, 11:29 am, Tom Haskins-Vaughan <[email protected]> > > wrote: > >> No, but which branch? 1.0, 1.1, 1.2, 1.3? > > >> Michael Smith wrote: > >>> The latest svn. I did an update right before reporting the issue just > >>> in case it was already fixed. I'm pretty sure I have done this in the > >>> past without issue. > >>> On Feb 25, 11:14 am, Tom Haskins-Vaughan <[email protected]> > >>> wrote: > >>>> Yeah, that is weird. What version of symfony are you running? > >>>> Michael Smith wrote: > >>>>> Yes > >>>>> On Feb 25, 11:01 am, Tom Haskins-Vaughan <[email protected]> > >>>>> wrote: > >>>>>> Is date_from available? > >>>>>> Michael Smith wrote: > >>>>>>> It redirects to the page but date_to does not appear in the request > >>>>>>> parameters of the page unless I decode the special chars before > >>>>>>> redirecting. > >>>>>>> On Feb 25, 10:49 am, Tom Haskins-Vaughan <[email protected]> > >>>>>>> wrote: > >>>>>>>> I'm assuming (can someone confirm?) that it's because & is not allowed > >>>>>>>> in XHTML documents. Are your links working or are they broken? > >>>>>>>> Tom > >>>>>>>> Michael Smith wrote: > >>>>>>>>> If I use (in an action) $this->redirect('history/index? > >>>>>>>>> date_from=auto&date_to=auto') it will escape the ampersand and the url > >>>>>>>>> will be /summary.html?date_from=auto&date_to=auto. A work around > >>>>>>>>> is $this->redirect(htmlspecialchars_decode($this->generateUrl > >>>>>>>>> ('history_summary', array('date_from' => 'auto', 'date_to' => > >>>>>>>>> 'auto')))) but doesn't seem like best practices. Any ideas what is > >>>>>>>>> causing this? > >>>>>>>>> Thanks, > >>>>>>>>> Michael > >>>>>>>> -- > >>>>>>>> Tom Haskins-Vaughan > >>>>>>>> Temple Street Media: Design and Development for the Web > >>>>>>>> [email protected] |www.templestreetmedia.com > >>>>>> -- > >>>>>> Tom Haskins-Vaughan > >>>>>> Temple Street Media: Design and Development for the Web > >>>>>> [email protected] |www.templestreetmedia.com > >>>> -- > >>>> Tom Haskins-Vaughan > >>>> Temple Street Media: Design and Development for the Web > >>>> [email protected] |www.templestreetmedia.com > >> -- > >> Tom Haskins-Vaughan > >> Temple Street Media: Design and Development for the Web > >> [email protected] |www.templestreetmedia.com > > -- > Tom Haskins-Vaughan > Temple Street Media: Design and Development for the Web > [email protected] |www.templestreetmedia.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
