-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Fix FormElementManagerFactory breaks csrf validation (in Mvc) #4425
Fix FormElementManagerFactory breaks csrf validation (in Mvc) #4425
Conversation
Please tell me why The Travis build faild anyone else ? |
Looks like it's likely a segfault; I'll look into it tomorrow morning.
|
Now good. Perhaps there were some bad lines about null conversion. |
The DiMock implementation looks hacky, and makes for some tight coupling with DI. I'm not certain I like this. I'm going to play with this to see if there's another approach we can use. |
@noopable Your tests have nothing to do with DI, which makes this even more... hacky... to me. I'm going to try merging just the tests and changes to |
@noopable Merging just the changes to form, the tests all pass, in both 5.3.3 and other versions. I'm going to merge just those; if you can work up a test for the DI-related stuff later, I'll consider it, though, as noted, I have concerns about having DI-specific form sniffing. |
…ation Fix FormElementManagerFactory breaks csrf validation (in Mvc)
- No tests for that functionality, and implementation felt like unneccessary coupling between Form and DI.
@weierophinney |
No description provided.