Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-718

Thrift PHP library includes closing tags and extraneous whitespace

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4
    • Component/s: PHP - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Extraneous whitespace after a PHP script's closing tag (?>) can cause big problems when sending headers to the client.

      It is generally advised that closing PHP tags be omitted from the end of a PHP file to prevent extraneous whitespace being an issue.

        Attachments

        1. thrift_php_closingTags.diff
          4 kB
          Nicholas Telford
        2. thrift_php_closingTags2.diff
          4 kB
          Nicholas Telford

          Activity

            People

            • Assignee:
              nicktelford Nicholas Telford
              Reporter:
              nicktelford Nicholas Telford
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified