Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Reg and Admin email not escaping special characters

Reg and Admin email not escaping special characters 12 years 9 months ago #16904

  • rjeffl
  • rjeffl's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
I have a number of fee fields in some of my registration forms, and the field display text for these lists the price with $xxx.
This information is displayed properly on the forms and in messages (ie. the $ character is escaped and displayed as an ascii character.

For emails, however, it appears that special characters such as $ are not being escaped. In other words values with $ in front are being interpreted as php variable substitutions. The result is unpredictable. In some cases the $xxx is replace with a null or 0, but in other cases random garbage in inserted in the email string.

The temporary solution was to manually add \ in front of the $ in my field tag text. This looks cheesy on the web form side, but produces reliable results in the reg and admin emails.

I am comfortable with a short term code patch if you can point me to the appropriate php module.

I am running v2.7.14.
Thanks.

Please Log in or Create an account to join the conversation.

Reg and Admin email not escaping special characters 12 years 9 months ago #16915

  • rjeffl
  • rjeffl's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
Just updated to 2.7.14c. No change, but thought I would rule this out.

Further clarification - this problem only occurs for group registration and fields appearing for each group member.
This problem DOES NOT show up for individual registrations.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.246 seconds