Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68069 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4100 invoked from network); 5 Jul 2013 19:09:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2013 19:09:30 -0000 Authentication-Results: pb1.pair.com header.from=leverton@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leverton@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.172 as permitted sender) X-PHP-List-Original-Sender: leverton@gmail.com X-Host-Fingerprint: 209.85.217.172 mail-lb0-f172.google.com Received: from [209.85.217.172] ([209.85.217.172:41468] helo=mail-lb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/2C-41520-9E917D15 for ; Fri, 05 Jul 2013 15:09:30 -0400 Received: by mail-lb0-f172.google.com with SMTP id v20so2317505lbc.31 for ; Fri, 05 Jul 2013 12:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lEiwbJEwIT1p3zHSvzJpoLmwt0p3TJ7estTTGYDlk94=; b=f6DtULqvzl56u8A6r4HqNRdgZ+M6RrWX6ReRQ/KnZ7DmArNln8uQrgldotG2AhLSz+ J8LgoBhNy1sDaaSEbydJxeJHKj53mzpPMajz4SUAqPaq9gzbjtXLNEFO2npkebalyzD+ vtqRCiY68mQkCm3tOxzHuB7APnoBB6tL/7MpBrQBzZfsRByJfNu3Er8qhYKUPV7EjtWq gSle5VFpUt/Xe3EhIes6BUXToiAXwNKzgQqhB2lQy11Eqgd2tnOwlSdtF1n1eKnaEfdn SvaUwGala6bfmy4oEZ5I7GtClABcJ0Y730i1Ym7vTRtmXWzhStK4V9w/CLrZJW20ohzS FjTQ== MIME-Version: 1.0 X-Received: by 10.112.141.6 with SMTP id rk6mr6135472lbb.50.1373051366212; Fri, 05 Jul 2013 12:09:26 -0700 (PDT) Received: by 10.112.27.148 with HTTP; Fri, 5 Jul 2013 12:09:26 -0700 (PDT) Date: Fri, 5 Jul 2013 14:09:26 -0500 Message-ID: To: PHP internals Content-Type: multipart/mixed; boundary=001a11c26310f10a6604e0c86e0a Subject: Access-Control-Allow-Origin header in CLI server From: leverton@gmail.com (Matthew Leverton) --001a11c26310f10a6604e0c86e0a Content-Type: text/plain; charset=ISO-8859-1 Hello, I commonly use PHP's built-in CLI server for development, using two running instances on two different ports, one for dynamic PHP content and the other for static content. But because PHP does not send the Access-Control-Allow-Origin header, Firefox will not load custom web fonts. See http://www.red-team-design.com/firefox-doesnt-allow-cross-domain-fonts-by-default The attached patch unconditionally sets it for all static files. Should I submit a bug report, or is this email sufficient to get somebody to look at it? -- Matthew Leverton --001a11c26310f10a6604e0c86e0a--