Commit 651344c
fix: normalize path separators in Go crawler PURLs on Windows
On Windows, `Path::strip_prefix` + `to_string_lossy()` produces
backslashes in the relative path, which get embedded in the PURL
(e.g., `pkg:golang/github.com\\gin-gonic\\gin@v1.9.1`). Replace
backslashes with forward slashes to produce correct PURLs on all
platforms.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f46314c commit 651344c
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
| 280 | + | |
280 | 281 | | |
281 | | - | |
| 282 | + | |
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| |||
0 commit comments