Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9615

When attaching a file whose name contains quotes, filename before last quote is cut off in display

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Component/s: Posting
    • Labels:
      None
    • Environment:
      PHP Version 4.4.9
      MySQL 5.0.81-log

      Description

      Support topic: http://www.phpbb.com/community/viewtopic.php?f=46&t=2091805

      When any user wants to attach a file with name like ''Mark's file'' or other using of combination of signs ''abc's file'', the final attachment's name showed in forum is only '' 's file'', the letters in front apostrophe are ignored.

      I tested on my board with a filename containing single and double quotes:

      Original filename:

      test ' yy " xx.txt

      Displayed filename:

      " xx.txt

      Seems like all text before the last single or double quote is killed off.

        Attachments

          Activity

            People

            • Assignee:
              bantu bantu
              Reporter:
              Oleg Oleg [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: