-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Problem saving "new order" template with the variable %account_url #7217
Comments
@hezide With comma fix applied I can save new template based on your steps to reproduce. Please provide full template content which you cannot save |
|
@hezide this issue still exists in 2.1.4, have you managed a way to correct it? |
looks like it's fixed. |
@hezide had same problem on a Nexcess server:
|
Yes I am in nexcess too, they fixed it... |
This is modsecurity on the web server denying the request because a pattern match is making it seem that there is a SQL-inject hack being attempted. You can contact Nexcess to have them review the modsecurity rules with you. |
Preconditions
Steps to reproduce
Expected result
Actual result
This error occurs only if the link to view order details is like this: <a href="%account_url".
full code for this link is:
<a href="%account_url">by logging in</a>.' account_url=$this.getUrl($store,'customer/account/',[_nosid:1]) |raw}}</p>
and if I delete it everything works fine.
Just to mention that this automatically loads from the original template.
Is there a fix for that or another way to include this link?
thanks.
The text was updated successfully, but these errors were encountered: