I receive a "Not a valid URL" error with this url:

http://finanza.repubblica.it/scripts/cligipsw.dll?app=KWF&tpl=kwfinanza\dettaglio_news.tpl&del=20080503&fonte=AGI&codnews=233870

the error is caused by "\" char, probably in the function "link_validate_url"

Comments

quicksketch’s picture

Title: Link validation » Backslash causes validation to fail

I'm not sure if this *should* be fixed, because a backslash should never be allowed in a proper URL, it should be encoded as "%5c".

quicksketch’s picture

Status: Active » Fixed

I decided to go ahead an include the \ in the accepted URLs, even though they're not technically allowed in URLs. The purpose of link is to prevent accidental typos, not to keep a perfect collection of well-formed URLs.

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/link/link.m...

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.