[wp-trac] [WordPress Trac] #25385: Validate URL for user comments in Comment Form
WordPress Trac
noreply at wordpress.org
Mon Sep 23 12:41:11 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 nofearinc):
Replying to [comment:4 mark-k]:
> 1. What is the real life problem that invalid author urls cause?
More spam due to the lack of validation, wrong URLs when someone enters
"example.com" and it leads to an inner page, typos while entering/pasting
URLs, etc.
Replying to [comment:4 mark-k]:
> 4. If I misspelled and wrote htt://examle.com, I would need to reenter
the whole comment.
Testing with Chrome, Firefox and Opera here the "back" button keeps the
original comment content. Might be wrong, but most browsers started doing
it at some point of time to prevent that sort of troubles.
You're definitely right about the lack of a useful mechanism to get back
though.
Replying to [comment:4 mark-k]:
> 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.
That's also one of the possible ways to fix that, yes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25385#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list