mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-31 17:55:59 -04:00
URL(EncodeSet): bring back component value
Lost and found.
This commit is contained in:
@@ -50,7 +50,7 @@ pub fn resolve(
|
||||
return allocator.dupeZ(u8, href.slice());
|
||||
}
|
||||
|
||||
const EncodeSet = enum { path, query, query_legacy, userinfo, fragment };
|
||||
const EncodeSet = enum { path, query, query_legacy, userinfo, fragment, component };
|
||||
|
||||
pub fn percentEncodeSegment(allocator: Allocator, segment: []const u8, comptime encode_set: EncodeSet) ![]const u8 {
|
||||
// Check if encoding is needed
|
||||
|
||||
Reference in New Issue
Block a user