Commit 84ba3f3
committed
Auto merge of #125070 - tbu-:pr_set_extension_panic, r=jhpratt
Panic if `PathBuf::set_extension` would add a path separator
This is likely never intended and potentially a security vulnerability if it happens.
I'd guess that it's mostly literal strings that are passed to this function in practice, so I'm guessing this doesn't break anyone.
CC #125060File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments