The link module threw up a "Not a valid URL" warning when I tried to input the valid URL http://_grisha.livejournal.com/ . (Seriously, it works: Go there to see.)
The actual version that encountered the problem is 7.x-1.0+28-dev, part of Commerce Kickstart as of 16 January 2013.
| Comment | File | Size | Author |
|---|
Comments
Comment #1
xiukun.zhou commentedComment #2
chris matthews commentedThe 16 Jan 2013 patch to link.module does not apply to the latest link 7.x-1.x-dev and if still applicable needs a reroll.
Comment #3
sajid_007 commentedI added a link in my content that starts with underscores and without applying a patch it is perfectly working in current version.
Comment #4
pradeepjha commentedLast patch itself is wrong. I didn't see any pattern matching value is changed. Only variable name is made in caps format, which is wrong. Because that variables are not available.
Also that means without patch also functionality is already working fine. I'm totally agree with @sajid_007.
Comment #5
solideogloria commentedCan someone provide steps for how to reproduce the error?
Perhaps the URL validation should be expanded: https://stackoverflow.com/questions/161738/what-is-the-best-regular-expr...
Comment #6
chegor commentedWhen I tried to insert this link into my "Website" field with type "Link" I got an error:
The value https://_grisha.livejournal.com provided for Website is not a valid URL.I'm using Link 7.x-1.7
Comment #7
damienmckenna@chegor: The patch hasn't been committed, this is an outstanding problem. And it needs test coverage.