Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
a1c937a0
Commit
a1c937a0
authored
Mar 05, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: Add missing dquote in HTML
parent
8baec366
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/asio_server_request_handler.cc
src/asio_server_request_handler.cc
+1
-1
src/shrpx_http.cc
src/shrpx_http.cc
+1
-1
No files found.
src/asio_server_request_handler.cc
View file @
a1c937a0
...
@@ -36,7 +36,7 @@ std::string create_html(int status_code) {
...
@@ -36,7 +36,7 @@ std::string create_html(int status_code) {
std
::
string
res
;
std
::
string
res
;
res
.
reserve
(
512
);
res
.
reserve
(
512
);
auto
status
=
::
nghttp2
::
http2
::
get_status_string
(
status_code
);
auto
status
=
::
nghttp2
::
http2
::
get_status_string
(
status_code
);
res
+=
"<!DOCTYPE html><html lang=en><title>
"
;
res
+=
R"(<!DOCTYPE html><html lang="en"><title>)
"
;
res
+=
status
;
res
+=
status
;
res
+=
"</title><body><h1>"
;
res
+=
"</title><body><h1>"
;
res
+=
status
;
res
+=
status
;
...
...
src/shrpx_http.cc
View file @
a1c937a0
...
@@ -39,7 +39,7 @@ std::string create_error_html(unsigned int status_code) {
...
@@ -39,7 +39,7 @@ std::string create_error_html(unsigned int status_code) {
std
::
string
res
;
std
::
string
res
;
res
.
reserve
(
512
);
res
.
reserve
(
512
);
auto
status
=
http2
::
get_status_string
(
status_code
);
auto
status
=
http2
::
get_status_string
(
status_code
);
res
+=
"<!DOCTYPE html><html lang=en><title>
"
;
res
+=
R"(<!DOCTYPE html><html lang="en"><title>)
"
;
res
+=
status
;
res
+=
status
;
res
+=
"</title><body><h1>"
;
res
+=
"</title><body><h1>"
;
res
+=
status
;
res
+=
status
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment