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

Validate or sanitize text fields #45

Closed
jimmyn opened this issue Jul 31, 2024 · 0 comments · Fixed by #46
Closed

Validate or sanitize text fields #45

jimmyn opened this issue Jul 31, 2024 · 0 comments · Fixed by #46
Assignees
Labels

Comments

@jimmyn
Copy link
Collaborator

jimmyn commented Jul 31, 2024

There is a problem when customers use double quotes as part of the text in an address or in some of the fields to fill out.

For instance, a customer had written "Los Olivos" with double quotes in the address field. When this data was saved to the database and later retrieved, it caused a JSON format error in the back-office order view. This generated a critical error and made it impossible to view the order details.

The issue occurred in the JSON data saved in the "_monei_history" table, specifically in the "response" field.

@jimmyn jimmyn added the bug label Jul 31, 2024
presteamshop added a commit to presteamshop/MONEI-PrestaShop that referenced this issue Jul 31, 2024
jimmyn added a commit that referenced this issue Aug 1, 2024
fix issue #45 (Validate or sanitize text fields)
@jimmyn jimmyn closed this as completed in #46 Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants