Sanitizing file & directory form input
I’m looking to sanitize admin form input for update_option. The input is for a directory path and file name. The input will look like this:
So far, every sanitize I’ve tried strips out the forward slashes. Any suggestions?