-
Notifications
You must be signed in to change notification settings - Fork 179
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
[media] unathenticated viewing private data fix #3657
[media] unathenticated viewing private data fix #3657
Conversation
Hey @intralizee it looks like you have some unrelated commits on this branch. This will have to be resolved. |
* | ||
* @return void | ||
*/ | ||
function viewData() |
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.
Could you move this function declaration to the bottom of the files with the other ones? It feels strange to have the functions in different places
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.
fixed
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.
Please remove all the unrelated whitespace changes so that this can be reviewed..
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.
LGTM. Note that the line
will need to be updated in the major branch to conform with the changes in #3655.
This pull request
fixes private data from being viewed
. Itadds permission check for user accessing the getData in FileUpload.php
.See also:
Bug #13847