Propagate Symfony responses throughout the codebase (src & modules)#2645
Propagate Symfony responses throughout the codebase (src & modules)#2645tvdijen wants to merge 9 commits into
Conversation
8ebd401 to
9714cb4
Compare
|
Idea: I have left out the migration to PSR-17 to interact with the saml2-lib (see old PR).. |
9714cb4 to
a6f6c6b
Compare
Looking at this, modules/admin/src/Controller/Config.php still falls through to the code that does Which by looking at Menu should be then trying to return a Looking at #1760 it doesnt seem there was a Menu.php update there to be picked still. |
|
I will go back to reading and using emacs to make cross check comments before posting to avoid noise |
|
I have read over most of this now. I have not checked it out and run it yet. |
|
NB: This is more of a comment for a future update if we like the idea. One thought I had was to do with getting query parameters... Looking at the symfony source code it seems that this could be a single line. Though the temptation there is also to use the FILTER to validate things at that time as well. (https://github.com/symfony/symfony/blob/e9a41cc7483070563d0e8264842e064716319e11/src/Symfony/Component/HttpFoundation/InputBag.php#L143) |
monkeyiq
left a comment
There was a problem hiding this comment.
Only a few little things that were perhaps discovered by another set of eyes.
I'm trying to not change anything in this already huge PR that is not related to passing requests/responses back and forth. Also, I would never use |
bc3753d to
886cfab
Compare
e6ce7b3 to
8073b72
Compare
8073b72 to
bf50c5e
Compare
This is a re-do of an older PR: a6458f5#diff-cd2cc539ac38ea3aaa66c905a882503ca5dfa6714b7b4ef51ed1f3537a9135cf (#1760)
I've been picking the changes in src/ and modules/, but I haven't come to the tests just yet.
It's hard, because the old master-branch was half-what migrated to the new saml2-lib. With this PR I'm hoping to peel Symfony responses off.