diff options
| author | Bradley Lewis <22850972+BradLewis@users.noreply.github.com> | 2026-02-12 15:08:43 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-12 15:08:43 +1100 |
| commit | 4f309f96acc53f788dabf7a9d0cb7319dbe16ebd (patch) | |
| tree | e8ad7fd5fd209adca67d6f4a9304da44116f99a1 /src/common/uri.odin | |
| parent | 92b8c767d233c6556ebf46072f32a02d06277363 (diff) | |
| parent | b32550a87edcbd71d1084eec76c316161066bb06 (diff) | |
Merge pull request #1295 from BradLewis/feat/update-os-filepath
Update ols to use the new os and filepath packages
Diffstat (limited to 'src/common/uri.odin')
| -rw-r--r-- | src/common/uri.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/uri.odin b/src/common/uri.odin index 32c32e0..ece873e 100644 --- a/src/common/uri.odin +++ b/src/common/uri.odin @@ -45,7 +45,7 @@ parse_uri :: proc(value: string, allocator: mem.Allocator) -> (Uri, bool) { //Note(Daniel, Again some really incomplete and scuffed uri writer) create_uri :: proc(path: string, allocator: mem.Allocator) -> Uri { - path_forward, _ := filepath.to_slash(path, context.temp_allocator) + path_forward, _ := filepath.replace_path_separators(path, '/', context.temp_allocator) builder := strings.builder_make(allocator) |