mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-30 00:14:54 -04:00
URL(EncodeSet): bring back component value
Lost and found.
This commit is contained in:
1 parent
a12d781d4a
commit
84fe33c679
1 file changed
+1
-1
+1
-1
@@ -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