Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9615

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.8-RC1
    • 3.0.7-PL1
    • Posting
    • None
    • PHP Version 4.4.9
      MySQL 5.0.81-log

      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.

        1. cutoff.png
          7 kB
          Oleg
        2. posted.png
          29 kB
          Oleg
        3. yourdomain.com • View topic - Third topic_1274365659661.png
          48 kB
          Andreas Fischer [X]

            bantu Andreas Fischer [X] (Inactive)
            Oleg Oleg [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: