Enter a valid URL e.g. " http://www.microsoft.com." Click save. Get error message that says " '___http//www.microsoft.com' does not look like a valid URL" . The error message omits the ":" in the URL. Tried this with a number of different URLS. Used plain text also. Used the URL button on the editor. Nothing makes a difference. the editor automatically inserts paragraph tags, if that makes a difference.

Comments

jfbordelon’s picture

The editor in wysig mode automatically inserts paragraph tags in the URL field. The work around we found was to switch to the plain text editor, eliminate the paragraph tags, and save. Somewhat cumbersome for novice users. This should be fixed.

HJulien’s picture

I am getting this error too. I can certainly switch to plain text and remove the tags but users? They wouldn't have a clue what to do when they encounter this error.

Is there a way to set this to plain text for weblinks only? I have been searching through CKEditor but can't see how to do it. I tried Better Formats and set that content type to plain text but that doesn't work either. What am I missing?

jonathan1055’s picture

Title: Error Message URL does not look valid when URL is valid » Error Message 'URL does not look valid' when URL is valid
Issue summary: View changes
Status: Active » Fixed

Just picked this old issue at random as part of cleaning up our issue queue.

I've tested this on 6.x and 7.x and it appears to be fixed now. On 6.x both with and without CKEditor the problem does not happen. On 7.x the input filter for the URL field is set to plain text, so CKEditor does not alter the text area. Line breaks are not inserted and the error
message is not produced.

Marking this fixed as there has been plenty of code improvements in the last three years, so somewhere this got corrected.

GStegemann’s picture

Yes, I have the same impression. I couldn't reproduce the error neither.
Thanks.

Status: Fixed » Closed (fixed)

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