Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3167

Custom client field values encode special characters when populating form

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6.0-b2
    • Component/s: None
    • Labels:
      None

      Description

      To recreate:

      • Add a drop-down custom client field
      • Include a special character(e.g. í) in one of the values
      • Attempt to add a client while selecting this value
      • Observe the validation error
      • Inspect the html of the custom drop-down and observe that the special character is encoded

      We either need to not encode it when we create the form(and be careful not to create any security issues) or we need to decode the value at some point after it has been submitted.

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        This was an issue fixed in #6 of minphp/form

        Show
        tyson Tyson Phillips (Inactive) added a comment - This was an issue fixed in #6 of minphp/form

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jun/19

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 35 minutes
              35m

                Agile