Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#6537 closed defect (bug)

Registrating a new user fails because of bad url composition with port number.

Reported by: tokkonopapa Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.2
Component: Core Keywords: needs-patch
Cc:

Description

A reqeust of registering a new user from http://example.com:port/regiser always fails because of bad url composition in bp_verify_nonce_request().

HTTP request with port number appears in $_SERVER['HTTP_HOST'] like example:port. But in bp_verify_nonce_request(), requested URL is composed $request_host = $_SERVER['HTTP_HOST'] . ':' . $_SERVER['SERVER_PORT'];. For example, $request_host = $parsed_home['host'] . ':' . $_SERVER['SERVER_PORT']; is better.

Change History (2)

#1 @r-a-y
5 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Status changed from new to closed
  • Version 2.3.2 deleted

Thanks for the report.

Please see #6528, which has a fix. Marking this as a duplicate.

#2 @tokkonopapa
5 years ago

  • Keywords needs-patch added
  • Version set to 2.3.2

Sorry, this issue is already opened in https://buddypress.trac.wordpress.org/ticket/6528

Note: See TracTickets for help on using tickets.