trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Update url_m_loc variable to the newly generated one in set-destination

Open jasmine-nahrain opened this issue 7 months ago • 0 comments

When set-destination URL is called, it creates a new url_m_loc with the new url and assigns that to the buffer. The requestUrl is never updated therefore any subsequent set-destination call will use the incorrect url_m_loc. This change tracks if the url has been changed, if so it will get the url_m_loc from the http hdr which has the updated loc. This issue is also present in 9.2

jasmine-nahrain avatar Jun 10 '25 05:06 jasmine-nahrain