Update: havvg on IRC filed a bug report here:
http://trac.symfony-project.org/ticket/6710

--
Patrick Lucas



On Fri, Jun 26, 2009 at 17:00, Patrick Lucas<[email protected]> wrote:
> I somehow crashed Apache through Symfony just now, and it's
> reproducible. Granted, I am running XAMPP on my Windows machine, but
> it might be worth checking out, seeing as an application twice removed
> from the server managed to crash it.
>
> The crash occurred when, due to a typo, I navigated to 
> http://localhost:8080/module/'
> (Notice the apostraphe)
>
> Here's my routes.yml:
>
> module:
>  url:   /job/:id
>  class: sfDoctrineRoute
>  options: { model: MyModule, type: object }
>  param: { module: job, action: show }
>  requirements:
>    id: \d+
>    sf_method: [get]
>
> /* Rest of default entries */
>
> As you can see, I was just beginning to tweak the file: Notice that
> the URL is NOT /module/:id.
>
> Alphanumeric characters just give me a symfony error, but many symbols
> crash it; I confirmed with ' , and +.
>
> Since the above routes.yml doesn't match the URL, it must be looking
> at the default, in which case it tries to go to the module Module
> (which exists) and the action [symbol] which is where the crash must
> occur.
>
> I can give more detail if necessary; just tell me where to look.
>
> The module Module was autogenerated - the only things I have otherwise
> edited are routes.yml and the DB stuff

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to