Skip to:
Content

BuddyPress.org

Changeset 9212


Ignore:
Timestamp:
12/04/2014 07:14:47 PM (6 years ago)
Author:
djpaul
Message:

Activity: when generating RSS output, send a HTTP header to disable content type sniffing.

Since we're sending a correct Content-Type header, we don't want browsers to misinterpret the data we're sending.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-classes.php

    r9110 r9212  
    17921792        // Set content-type
    17931793        @header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true );
     1794        send_nosniff_header();
    17941795
    17951796        // Cache-related variables
Note: See TracChangeset for help on using the changeset viewer.