When I’m testing my site using XAMPP, I want to use “http://localhost/folder/subfolder/file.pdf” as the URL for a download, but WDM’s regex in “attach-file.php” doesn’t recognise that as a valid URL.
Any suggestions? I know I could remove the validation from that script, but I’d sooner use the unmodified plugin.