Feature #45100
RequestDispatchingAspect should check if entry point can handle current request
Status: | Under Review | Start date: | 2013-02-03 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Christopher Hlubek | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
For AJAX, REST and other requests the default behavior of intercepting the request and choosing e.g. the WebRedirect entry point is not desirable.
There should be a "canHandleRequest" method in the entry point to check if the current request can be handled. For example an AJAX request with X-Requested-With:XMLHttpRequest
should not get a redirect but a proper status code and header that links to a login service.
Related issues
History
#1 Updated by Christopher Hlubek over 2 years ago
- Tracker changed from Bug to Feature
#2 Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17967
#3 Updated by Bastian Waidelich over 2 years ago
- Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow