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

Thrift PHP library includes closing tags and extraneous whitespace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4
    • PHP - Library
    • None
    • 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_closingTags2.diff
          4 kB
          Nicholas Telford
        2. thrift_php_closingTags.diff
          4 kB
          Nicholas Telford

        Activity

          People

            nicktelford Nicholas Telford
            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