Make WordPress Core

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#883 closed defect (bug) (fixed)

wp-comments-post strips http:// from author url for logged in users

Reported by: gbhugo Owned by: ryan
Priority: normal Milestone:
Component: Administration Version:
Severity: minor Keywords:
Cc: Focuses:

Description

When a logged in user comments, the wp-comments-post code stripps the http:// from her URI before writing the cookie. Next time around the commenter produces a broken URI.

Change History (9)

#1 @gbhugo
22 years ago

  • PatchNo

#2 @gbhugo
22 years ago

And of course it's not adminstration but general and it is for 1.5 :-/

Too bad one can't edit the bugreport itself (at least I didn't find an obvious way to do so).

#3 @sethkinast
22 years ago

This was fixed a couple weeks ago in CVS.

#4 @gbhugo
22 years ago

I doubt that it was fixed weeks ago - because it is in the just released tar.gz ...

#5 @ryan
22 years ago

The clean_url() filter should add the http:// back. Stripping it in the first place is indeed needless, but clean_url() should correct it.

edited on: 02-16-05 21:31

#6 @gbhugo
22 years ago

When the stripping was in, I had the following effect: when going to the comment form, the normal URL was shown. After posting the comment, the URL was changed - and in the comment form it was presented without leading http:// - so at least this will irritate users, even if the http:// is added on the next comment. I think the URL should be left untouched in the process so that the cookie contains the full URL.

#7 @ryan
22 years ago

Okay. Fixed.

#8 @ryan
22 years ago

  • Status newclosed

#9 @ryan
22 years ago

  • fixed_in_version1.5
  • Owner changed from anonymous to rboren
  • Resolution 1020
Note: See TracTickets for help on using tickets.