Menu

#145 % (percentage) in Mailing Name or "agnDyn name" results in error

OpenEMM
closed-wont-fix
nobody
2
2016-10-28
2016-04-15
No

After installing OpenEMM 2015 and using a template used in OpenEMM 2013 I got "An unexpected error occurred." when I was trying to add content to a agnDYN-tag that had a percentage sign (%) in its name-attribute, like:
[agnDYN name="4.0 Prmbl,Txt,Link - 100%"]

After some more investigating I could reproduce the same error in another mailing using a more simple HTML-template. The error could/can be reproduced in two ways:

  1. Using "%" inside the name-attribute of a agnDYN-tag
    The HTML-template of the mailing:
    [agnDYN name="1.0 Item 1"/]
    [agnDYN name="2.0 Item 2 %"/]

1.1 Add/Delete content for "1.0 Item 1" is working
1.2 Add/Delete content for "2.0 Item 2 %" results in "An unexpected error occurred.". But if you go back (browser history) the content you added/deleted have been successfully added/deleted.

  1. Using "%" inside the Name of the mailing
    Name of Mailing: Name with %
    The HTML-template of the mailing:
    [agnDYN name="1.0 Item 1"/]
    [agnDYN name="2.0 Item 2"/]

2.1 Add/Delete content for "1.0 Item 1" results in "An unexpected error occurred."
2.2 Add/Delete content for "2.0 Item 2" results in "An unexpected error occurred.".
(For both 2.1 and 2.2 -- If you go back (browser history) the content you added/deleted have been successfully added/deleted.)

This is not a very big problem since you could just choose not to use "%". But if the error is a result of some kind of "SQL-injection"-related error then it could be a bigger problem.

Discussion

  • Martin Aschoff

    Martin Aschoff - 2016-04-18
    • status: open --> pending
    • Priority: 5 --> 2
     
  • Martin Aschoff

    Martin Aschoff - 2016-10-28
    • status: pending --> closed-wont-fix
     

Log in to post a comment.