Uploaded image for project: 'Texen'
  1. Texen
  2. TEXEN-10

Handling of file.contents suffix is flawed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Labels:
      None

      Description

      The code to process the suffix "file.contents" does not check that there is a "." before the suffix; it unconditionally removes the previous character.

      So for example:

      statusfile.contents=STATUS

      will be accepted, and the file contents stored in the context as $statu - this is presumably not what was intended.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: