Commit 1393634
fix(clipboard): URL-encode path segments in absolutePathToFileUrl
Encode each path segment with encodeURIComponent to handle special
characters like # and ? that would otherwise be interpreted as URL
fragment/query delimiters.
Co-Authored-By: Christian <christian@bagerbach.com>1 parent 05b4a26 commit 1393634
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
834 | | - | |
835 | | - | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
836 | 840 | | |
837 | 841 | | |
838 | 842 | | |
| |||
0 commit comments