WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 months ago

#31946 new defect (bug)

/wp-admin/user-edit.php fails when using with IDN domain name

Reported by: aesede Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.1.1
Component: Users Keywords:
Focuses: Cc:

Description

Steps to reproduce the problem: in a IDN-based domain site, logon to the admin area, go to Users in the main menu and click on edit any user.
Domain is: gudñus.com.ar
The exact URL is: http://gudñus.com.ar/wp-admin/user-edit.php?user_id=3&wp_http_referer=%2Fwp-admin%2Fusers.php
If I reload the page without the wp_http_referer part of the querystring, it works.
Other 4.1.1 WP installations I have work properly, the site with IDN domain is the only with problems.
The bug results in a page showing next text:
Forbidden

You don't have permission to access /wp-admin/user-edit.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Please notice again, that if I take out the wp_http_referer part the page works, no "Forbidden" page is shown.

Extra: Had similar problem (more severe, couldn't even login to /wp-admin) when installing wordpress in a folder with latin chars (like domain.com/gudñus/) but couldn't check in depth for that issue.

Change History (0)

Note: See TracTickets for help on using tickets.