Skip to content

Conversation

@traeak
Copy link
Contributor

@traeak traeak commented Sep 8, 2023

inside URL.cc url_string_get first calculates output url length, allocates space then calls url_print.

This fix copies the ipv6 address check and [ ] wrap from url_print to the url_length_get function.

@traeak traeak self-assigned this Sep 8, 2023
@traeak traeak added this to the 10.0.0 milestone Sep 8, 2023
@maskit maskit added the HTTP label Sep 8, 2023
@traeak traeak merged commit 48862f2 into apache:master Sep 8, 2023
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
* asf/master:
  Don't set port number as part of hostname (apache#10386)
  JSONRPC handler: Add check for the lifecycle hooks. (apache#10312)
  Removes all HostDB persistent storage (apache#10368)
  Restores the traffic_server option for --maxRecords (apache#10388)
  URL.cc: url_length_get consider ipv6 address with added [] (apache#10387)
  make alternate tests wait a multiple of cache_config_mutex_retry_delay (apache#10378)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants