Auto-Replacing Invalid Characters

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
xRift
Posts: 2
Joined: 05 Jul 2016 00:54

Auto-Replacing Invalid Characters

Post 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 : ?

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Auto-Replacing Invalid Characters

Post 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! :appl:

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Auto-Replacing Invalid Characters

Post 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.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Auto-Replacing Invalid Characters

Post 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.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Auto-Replacing Invalid Characters

Post by admin »

OK, I fixed the ":" case. No mention in the change log, just too long to explain...

Post Reply