bors bd184cc3e1 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 #125060
2024-05-26 04:14:32 +00:00
..
2024-05-20 11:13:31 -04:00
2024-05-01 22:19:11 -04:00
2024-05-16 15:41:06 -05:00
2024-05-16 15:41:06 -05:00
2024-05-01 21:01:51 -04:00