Skip to content

Commit

Permalink
fixed bmuller#13 - issue handling POST data
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuller committed Mar 27, 2011
1 parent 0fea1d5 commit 1b2a53e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -3,6 +3,7 @@
# Some issue references are from an old Trac installation. New bugs can be found
# at http://github.com/bmuller/mod_auth_openid/issues and are prefixed with a #
Unstable
Fixed issue #13 - issue with handling POST data
Fixed issue #10 - curl_unescape deprecated / libcurl doesn't unescape '+' as a space

Version 0.6
Expand Down
4 changes: 2 additions & 2 deletions http_helpers.cpp
Expand Up @@ -310,9 +310,9 @@ namespace modauthopenid {
child_stopped_reading = 1;
} else {
if (query_string == NULL)
query_string = apr_pstrdup(r->pool, data);
query_string = apr_pstrndup(r->pool, data, len);
else
query_string = apr_pstrcat(r->pool, query_string, data, NULL);
query_string = apr_pstrcat(r->pool, query_string, apr_pstrndup(r->pool, data, len), NULL);
}
}
apr_brigade_cleanup(bb);
Expand Down

0 comments on commit 1b2a53e

Please sign in to comment.