!!! TASK: Use configured baseUri in form action#100
Conversation
|
We're pretty much in the process of elaborating the purposes and best approach towards /cc @bwaidelich @kitsunet |
Right, Christian is on it with neos/flow-development-collection#1755 Most likely the result will look like this: $uri = $this->baseUriProvider-> getConfiguredBaseUriOrFallbackToCurrentBaseUri(); |
|
Thanks for the feedback! Christian explained me the changes regarding the baseUri this morning in the Slack channel already. I'm happy to adapt it once they are released :) I just had to get it work for the current version anyway and therefore this PR is still done the old way for the moment. |
|
Ok, so as of https://github.com/neos/flow-development-collection/pull/1755/files the final solution is indeed |
70e00b1 to
8ac6011
Compare
8ac6011 to
41b1244
Compare
albe
left a comment
There was a problem hiding this comment.
Looks good apart from the one comment
bwaidelich
left a comment
There was a problem hiding this comment.
I took the freedom to make some (mostly cosmetic) tweaks.
Tested and merge this for the next major release. Thanks!!
|
@simstern unfortunately this breaks unit tests still and I don't have edit access to your PR It is a good measure to allow this when creating PRs for upstream Repos: |
|
FYI: We are thinking of getting rid of the notion of a global |
|
Thanks for your info and help on this. Makes sense to wait then. I tried to give you edit access, but it seems I cannot change this anymore (even though, it's documented here how to do it https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork) |
|
@bwaidelich Has something changed here in meanwhile? AFAIS we still use https://github.com/neos/form/blob/main/Classes/Finishers/RedirectFinisher.php#L79 |
|
@dlubitz I'm not sure, I haven't touched this code since 2022 o.O |

$actionRequest->getHttpRequest()->getUri()returns the original request Uri, which conflicts if the SettingNeos.Flow.http.baseUriis overwritten.TBH: I'm not sure if this is really the best way to replace the base uri, so I'm happy for any feedback.
Closes #22