Commit 77f5f7b
Enhance convert_url_path_to_github_path to handle all double slash edge cases
- Remove .replace('main//', 'main/') workaround since root cause is fixed
- Add comprehensive double slash cleaning in string handling branch
- Handle edge cases like multiple leading slashes and internal double slashes
- All 16 test cases pass including extreme edge cases
- Function now properly strips and cleans paths before URL construction
Co-Authored-By: [email protected] <[email protected]>1 parent 8f36fd4 commit 77f5f7b
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
295 | 297 | | |
296 | 298 | | |
297 | 299 | | |
| |||
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
330 | | - | |
| 332 | + | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
| |||
0 commit comments