mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
Merge pull request #1010 from lightpanda-io/update_transfer_uri_on_redirect
Update the transfer.uri on redirect
This commit is contained in:
@@ -845,6 +845,7 @@ pub const Transfer = struct {
|
|||||||
|
|
||||||
const url = try urlStitch(arena, hlocation.?.value, std.mem.span(baseurl), .{});
|
const url = try urlStitch(arena, hlocation.?.value, std.mem.span(baseurl), .{});
|
||||||
const uri = try std.Uri.parse(url);
|
const uri = try std.Uri.parse(url);
|
||||||
|
transfer.uri = uri;
|
||||||
|
|
||||||
var cookies: std.ArrayListUnmanaged(u8) = .{};
|
var cookies: std.ArrayListUnmanaged(u8) = .{};
|
||||||
try req.cookie_jar.forRequest(&uri, cookies.writer(arena), .{
|
try req.cookie_jar.forRequest(&uri, cookies.writer(arena), .{
|
||||||
|
|||||||
Reference in New Issue
Block a user