We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d9053a commit 1af2513Copy full SHA for 1af2513
src/url.zig
@@ -154,7 +154,7 @@ pub const URL = struct {
154
155
out_i -= 2;
156
while (out_i > 1 and out[out_i - 1] != '/') {
157
- out_i -= 1;
+ out_i -= 1;
158
}
159
// <= to deal with the hack-ish protocol_end which will be off-by-one between http and https
160
if (out_i <= protocol_end) return error.InvalidURL;
0 commit comments