Skip to content

Conversation

@maskit
Copy link
Member

@maskit maskit commented Jun 27, 2023

The code for escaping URL is currently in proxy/logging but it's not logging specific and it should be useful for other modules. This PR moves the logic into tscore, and add some unit tests.

I have WIP code for OCSP GET request, which is in iocore/net, and it relies on this change (URL escapify is needed to send OCSP request as a query string).

Co-Authored-By: Jeff Elsloo elsloo@apache.org

Co-Authored-By: Jeff Elsloo <elsloo@apache.org>
@maskit maskit added the Core label Jun 27, 2023
@maskit maskit added this to the 10.0.0 milestone Jun 27, 2023
@maskit maskit self-assigned this Jun 27, 2023
Copy link
Contributor

@bneradt bneradt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Probably good to add ending newlines for the new files though. If you're using vscode, this might be helpful:

https://stackoverflow.com/a/44704969/629530

@maskit maskit merged commit 67a8783 into apache:master Jun 28, 2023
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Sep 26, 2023
Co-authored-by: Jeff Elsloo <elsloo@apache.org>
(cherry picked from commit 67a8783)

 Conflicts:
	src/tscore/CMakeLists.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants