summaryrefslogtreecommitdiff
path: root/actions/api.php
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-18 14:50:53 -0400
committerzach <zach@copley.name>2008-07-18 14:50:53 -0400
commitcebbff432a8a0c8087f56d8c8de0865d17441150 (patch)
treea828721ff727aee9a5908f203015ed9d6d10cb30 /actions/api.php
parent7853df51cec346ac2479cb25d5224b6ad69135c8 (diff)
Twitter-compatible API - added missing double quotes to WWW-Authenticate header
darcs-hash:20080718185053-ca946-457b1ce5261abeb067bbbaba43b707ad4751aeef.gz
Diffstat (limited to 'actions/api.php')
-rw-r--r--actions/api.php2
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();