-
Notifications
You must be signed in to change notification settings - Fork 119
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
[NEW UI] Check wording parts 1 #1050
base: dev
Are you sure you want to change the base?
Conversation
tblivet
commented
Nov 28, 2024
Questions | Answers |
---|---|
Description? | Check wording (first session) for already functional parts |
Type? | improvement |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | - |
Sponsor company | @PrestaShopCorp |
How to test? | - |
'message' => $this->translator->trans('The "/admin/autoupgrade" directory isn\'t writable. Provide write access to the user running PHP with appropriate permission & ownership.'), | ||
'message' => $this->translator->trans( | ||
'The %s directory isn\'t writable. Provide write access to the user running PHP with appropriate permission & ownership.', | ||
[$this->autoUpgradePath] |
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.
Is the path displayed is sanitized? We should make sure the actual admin folder is not displayed to keep the merchants data safe in case he makes a screenshot of this page.
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.
Ok, so we should go with /your-admin-directory/autoupgrade/
?
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.
Yep, one good way would be to use the sanitizer currently present in the Logger class.
Co-authored-by: Thomas N <[email protected]>
Quality Gate passedIssues Measures |