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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 4.6.0 beta Sprint 1 [ 86 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        Automated transition triggered when Jonathan Reissmueller created pull request #679 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 35 minutes [ 2100 ]
        Worklog Id 12294 [ 12294 ]
        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
        tyson Tyson Phillips (Inactive) made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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