projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa84a4
)
* modules/ssl/ssl_util_ocsp.c (serialize_request): Fix query string
author
Joe Orton
<jorton@apache.org>
Thu, 29 Nov 2007 16:12:59 +0000
(16:12 +0000)
committer
Joe Orton
<jorton@apache.org>
Thu, 29 Nov 2007 16:12:59 +0000
(16:12 +0000)
handling.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599496
13f79535
-47bb-0310-9956-
ffa450edef68
modules/ssl/ssl_util_ocsp.c
patch
|
blob
|
history
diff --git
a/modules/ssl/ssl_util_ocsp.c
b/modules/ssl/ssl_util_ocsp.c
index 9a7d0a9b37c5ae50185fd8f9aebfd9a6a9f40763..497717a6650df51a49c64c40a45323651955a1e2 100644
(file)
--- a/
modules/ssl/ssl_util_ocsp.c
+++ b/
modules/ssl/ssl_util_ocsp.c
@@
-36,11
+36,11
@@
static BIO *serialize_request(OCSP_REQUEST *req, const apr_uri_t *uri)
bio = BIO_new(BIO_s_mem());
- BIO_printf(bio, "POST %s%s HTTP/1.0\r\n"
+ BIO_printf(bio, "POST %s%s
%s
HTTP/1.0\r\n"
"Host: %s:%d\r\n"
"Content-Length: %d\r\n"
"\r\n",
- uri->path, uri->query ? uri->query : "",
+ uri->path, uri->query ?
"?" : "", uri->query ?
uri->query : "",
uri->hostname, uri->port, len);
if (i2d_OCSP_REQUEST_bio(bio, req) != 1) {