Skip to content

utility: Update gdb script so gdb runs well in emacs gud package#2372

Merged
htuch merged 5 commits intoenvoyproxy:masterfrom
jmarantz:gdb-emacs
Jan 15, 2018
Merged

utility: Update gdb script so gdb runs well in emacs gud package#2372
htuch merged 5 commits intoenvoyproxy:masterfrom
jmarantz:gdb-emacs

Conversation

@jmarantz
Copy link
Copy Markdown
Contributor

No description provided.

to the other handlers with a browser.

Add a private mechanism to have admin handlers supply arbitrary
headers.  Note that the handler callback doesn't expose a header
structure, so the public v2 API does not provide this header-control.
However, it was specifying text/html as content-type by default, so
I changed the default to text/plain (with nosniff).

Added sanitization of both the prefix string and the help text, which
need to be safely injected into the HTML doc.

Added some styling and a reference to the existing Envoy favicon as well.

Note that no existing handlers get any response bytes changed as a result
of this commit, just their content-type.

Signed-off-by: Joshua Marantz <jmarantz@google.com>
…ms in particular.

Signed-off-by: Joshua Marantz <jmarantz@google.com>
… can set the

content-type and/or cache-control.

Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
@htuch htuch merged commit a30a8b7 into envoyproxy:master Jan 15, 2018
@jmarantz jmarantz deleted the gdb-emacs branch January 15, 2018 17:14
jpsim pushed a commit that referenced this pull request Nov 28, 2022
followup to #2362

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
followup to #2362

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants