Browse files

Merge pull request #107 from nicad/master

typo in WWW-Authenticate handling leading to infinite recursion
  • Loading branch information...
2 parents 563c7ef + 369ce33 commit 5ecef77569c0434cbd1454b4dc163bf9fac52b48 @vinoski vinoski committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yaws.erl
View
2 src/yaws.erl
@@ -1535,7 +1535,7 @@ accumulate_header({www_authenticate, What}) ->
put(outh, (get(outh))#outh{www_authenticate = ["WWW-Authenticate: ", What,
"\r\n"]});
accumulate_header({"WWW-Authenticate", What}) ->
- accumulate_header({"WWW-Authenticate", What});
+ accumulate_header({www_authenticate, What});
%% non-special headers (which may be special in a future Yaws version)
accumulate_header({Name, What}) when is_list(Name) ->

0 comments on commit 5ecef77

Please sign in to comment.