ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problem with quotes in "Select List" member fields

August 11, 2012 2:56am

Subscribe [1]
  • #1 / Aug 11, 2012 2:56am

    gldstudio

    1 posts

    I’m having an issue with “Select List” member fields in EE 2.5.2

    If any of the entries have a single or double quote in them, a validation error will occur on the registration page if you select that entry. Also, if you try to update an existing user and set the field to one with quotes, it will refresh with no entry selected.

    It may be related to this bug with the conditionals:

    https://support.ellislab.com/bugs/detail/17989

    It looks like EE converts the quotes to HTML escape sequences and when this is output into a select tag, the browser resubmits it as the un-encoded version.

    I modified a few of the files in the member module to get the registration error to stop occurring but don’t have enough EE knowledge to hack the admin side to get it to display the proper item in the list.

    Any ideas/updates/suggestions? Taking the quotes out of the entries seems like an inadequate solution

  • #2 / Aug 13, 2012 12:59pm

    Dan Decker

    7338 posts

    Hi gldstudio,

    I’m sorry for your trouble with this! I have verified that quotes break the form, and have filed a bug report on it.

    Is there anything else I can assist you with?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases