Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16032

Spring EL does not allow '\0' characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3.11, 5.0 GA
    • Fix Version/s: 4.3.12, 5.0.1
    • Component/s: Core:SpEL
    • Labels:

      Description

      `Tokenizer` class uses the `ch == 0` to check whether this expression reaches end, making it is impossible to use `\0` in Spring EL like following:

      #{#str?.split('\0')}
      

        Attachments

          Activity

            People

            • Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              tony zeng Tony Zeng
              Last updater:
              Spring Issuemaster
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                27 weeks, 1 day ago