Page 1 of 1
Auto-Replacing Invalid Characters
Posted: 13 Jul 2016 15:37
by xRift
I enabled the option and if I try to copy a link like
http://google.com/wp-admin/post-new.php, the : is left behind that makes it remain as an invalid file rename.
Can you fix it so that it also takes care of invalid file name characters like : ?
Re: Auto-Replacing Invalid Characters
Posted: 13 Jul 2016 15:53
by TheQwerty
Hello and welcome to the club, xRift!
I can confirm that ':' is not treated as an invalid character when typing or pasting into a rename edit box.
Tested in fresh v17.00.0006 with
Configuration | Sort and Rename | Rename | Auto-replace invalid characters enabled.
Nice find!

Re: Auto-Replacing Invalid Characters
Posted: 13 Jul 2016 18:34
by admin
It only happens if Configuration | Sort and Rename | Rename | Allow move on rename is enabled, since : is a valid character in a path. But, of course, http://... is not a valid path. Gonna fix.
Re: Auto-Replacing Invalid Characters
Posted: 13 Jul 2016 18:40
by TheQwerty
admin wrote:It only happens if Configuration | Sort and Rename | Rename | Allow move on rename is enabled...
I don't think I ever realized this option allows cross-volume moves with absolute paths... cool!
I tend to only use it to bury an item deeper into sub-folders of the current path.
Re: Auto-Replacing Invalid Characters
Posted: 13 Jul 2016 18:46
by admin
OK, I fixed the ":" case. No mention in the change log, just too long to explain...