RoaveDeveloperTools icon indicating copy to clipboard operation
RoaveDeveloperTools copied to clipboard

Enabling RDT causes exception with sessions / CSRF form elements

Open EvanDotPro opened this issue 11 years ago • 4 comments

To reproduce:

  1. Install/enable RDT.
  2. Try rendering a form with a CSRF element.

Result:

EvanDotPro avatar Jun 13 '14 21:06 EvanDotPro

Wondering if this is similar to zendframework/ZendDeveloperTools#148

Ocramius avatar Jun 13 '14 21:06 Ocramius

Haha, well, a student pointed zendframework/ZendDeveloperTools#148 during class today, so I decided to take that opportunity to show them RDT (hoping it wouldn't have the same problem)... RDT didn't break annotation forms like ZDT did, but it did cause this session failure.

It's just been one of those days...

EvanDotPro avatar Jun 13 '14 21:06 EvanDotPro

@EvanDotPro well, I'm the cause of zendframework/ZendDeveloperTools#148 as well :-) I know why it happens, but the only solution would be proxying the EventManager right now, which is too aggressive (maybe?)

Ocramius avatar Jun 13 '14 21:06 Ocramius

Hmm, yeah proxying the EventManager does seem a bit heavy-handed / aggressive...

EvanDotPro avatar Jun 13 '14 23:06 EvanDotPro