diff options
author | zach <zach@copley.name> | 2008-07-18 14:50:53 -0400 |
---|---|---|
committer | zach <zach@copley.name> | 2008-07-18 14:50:53 -0400 |
commit | cebbff432a8a0c8087f56d8c8de0865d17441150 (patch) | |
tree | a828721ff727aee9a5908f203015ed9d6d10cb30 | |
parent | 7853df51cec346ac2479cb25d5224b6ad69135c8 (diff) |
Twitter-compatible API - added missing double quotes to WWW-Authenticate header
darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz
-rw-r--r-- | actions/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/api.php b/actions/api.php index eeee77ec2..97da359fe 100644 --- a/actions/api.php +++ b/actions/api.php @@ -53,7 +53,7 @@ class ApiAction extends Action { if (!isset($_SERVER['PHP_AUTH_USER'])) { # This header makes basic auth go - header('WWW-Authenticate: Basic realm="Laconica API'); + header('WWW-Authenticate: Basic realm="Laconica API"'); # if the user hits cancel -- bam! common_show_basic_auth_error(); |