Commit 8f36fd4
Improve StringVar handling to prevent leading slashes
- Add additional string_replace_operation to strip any remaining leading slashes
- Ensures StringVar branch returns clean path without leading slash
- Prevents double slash in GitHub URLs when combined with main/{path}
- Addresses issue where regex ^/+|/+$ might not fully strip leading slashes in StringVar context
Co-Authored-By: [email protected] <[email protected]>1 parent 026fd7b commit 8f36fd4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
0 commit comments