dispatch event for 404 errors#28523
dispatch event for 404 errors#28523PVince81 merged 1 commit intoowncloud:masterfrom karakayasemi:dispathEventFor404
Conversation
|
@DeepDiver1975 the version is corrected. |
thx - I'd like to get a second voice - @PVince81 mind having a look? THX |
|
I guess If we're sending events for 404, should we also send some for 403, etc ? (if yes, separately) |
|
I can rename ResourceNotFoundEvent class name as HttpEvents and we can dispatch all the events related to http by extending this class. Similar to following: https://github.com/owncloud/core/blob/master/lib/public/Comments/CommentsEvent.php . @PVince81 is it okay for you? |
|
@karakayasemi renaming sounds good |
|
@DeepDiver1975 @PVince81 please review. Thanks |
|
backport ? |
|
This is not in |
|
As far as I know, there is nothing which using this event currently, it was added for Security app, but nothing implemented yet. I am not sure that we want to keep it. |
|
@karakayasemi I suggest reverting from master then as that would qualify as "API addition that we need to maintain and keep stable in the future" if we let it in stable10 |
|
revert PR in here #34835 |
Description
Dispatch event from possible 404 error locations.
Related Issue
owncloud-archive/security#3
Motivation and Context
The goal is to be able to detect 404 errors
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
@DeepDiver1975 @Peter-Prochaska please review.