[wp-trac] [WordPress Trac] #25385: Validate URL for user comments in Comment Form

WordPress Trac noreply at wordpress.org
Mon Sep 23 09:25:03 UTC 2013


#25385: Validate URL for user comments in Comment Form
--------------------------+------------------------------
 Reporter:  nofearinc     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by mark-k):

 -1 at least in what relates to comments for the following reasons

 1. What is the real life problem that invalid author urls cause?
 2. why only http? what is wrong with an author that have an ftp site and
 want to use ftp://...
 3. Even when the check passes, it still might not be a valid URL, maybe it
 has a none existing TLD. The only way to check url validity is to try to
 "ping" it
 4. If I misspelled and wrote htt://examle.com, I would need to reenter the
 whole comment. I think that in that case I will not bother. Right now the
 patch doesn't even return me to the post on which I was commenting. If
 returned to the right ost then I don't see how you can dislay the error.
 5. The author url data is optional, if we can live with it being empty
 then why can't we live with it being wrong?

 That being said, maybe it is a good idea to just remove the url data if it
 is invalid, maybe even try to auto-correct problems like in point 4.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25385#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list