URL regex doesn't allow me to test on localhost

Viewing 2 posts - 1 through 2 (of 2 total)
#98998

Doc Dunning
Member

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.

#99025

Shahriar
Moderator

If you want to test the URL feature you can just add a valid URL of any sample file from the web.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘URL regex doesn't allow me to test on localhost’ is closed to new replies.