X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiFormatJson.php;h=6d8e74309fb51ff96bb3b611e2854ba6e9b2816b;hp=8ebfe48cf88a33d10a43eff6536f577787691576;hb=6b3e5511fb848890f174690885e748b90389c0b8;hpb=41f1ce0d35b929d480ce87605a3234c187e44fd2 diff --git a/includes/api/ApiFormatJson.php b/includes/api/ApiFormatJson.php index 8ebfe48cf8..6d8e74309f 100644 --- a/includes/api/ApiFormatJson.php +++ b/includes/api/ApiFormatJson.php @@ -1,9 +1,5 @@ @gmail.com" * * This program is free software; you can redistribute it and/or modify @@ -91,7 +87,7 @@ class ApiFormatJson extends ApiFormatBase { $data = $this->getResult()->getResultData( null, $transform ); $json = FormatJson::encode( $data, $this->getIsHtml(), $opt ); - // Bug 66776: wfMangleFlashPolicy() is needed to avoid a nasty bug in + // T68776: wfMangleFlashPolicy() is needed to avoid a nasty bug in // Flash, but what it does isn't friendly for the API, so we need to // work around it. if ( preg_match( '/\<\s*cross-domain-policy(?=\s|\>)/i', $json ) ) { @@ -103,7 +99,7 @@ class ApiFormatJson extends ApiFormatBase { if ( isset( $params['callback'] ) ) { $callback = preg_replace( "/[^][.\\'\\\"_A-Za-z0-9]/", '', $params['callback'] ); # Prepend a comment to try to avoid attacks against content - # sniffers, such as bug 68187. + # sniffers, such as T70187. $this->printText( "/**/$callback($json)" ); } else { $this->printText( $json );