Skip to content
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

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

tblivet
Copy link
Contributor

@tblivet 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]
Copy link
Member

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.

Copy link
Contributor Author

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/ ?

Copy link
Member

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.

Copy link

sonarcloud bot commented Nov 29, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for review
Development

Successfully merging this pull request may close these issues.

2 participants