-
Notifications
You must be signed in to change notification settings - Fork 2.1k
dispatch event for 404 errors #28523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10.0.3
|
@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 |
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 from me
|
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.