WordPress.org

Make WordPress Core

Opened 15 months ago

Last modified 6 days ago

#45897 new defect (bug)

Chinese page uri dump fail

Reported by: zh1995 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.2
Component: I18N Keywords: needs-patch needs-testing
Focuses: Cc:

Description

In theme home page , dump fail when clike message page if uri is chinese. In file wp-include/class-wp.php,
should modify like this:
list( $req_uri ) = explode( '?', urldecode( $_SERVERREQUEST_URI? ) );

Attachments (1)

45897.patch (678 bytes) - added by sabernhardt 6 days ago.

Download all attachments as: .zip

Change History (2)

@sabernhardt
6 days ago

#1 @sabernhardt
6 days ago

  • Component changed from General to I18N
  • Keywords needs-patch needs-testing added

@zh1995 Hi and thanks for the report!

I made a patch file with the url_decode() change you suggested, so people can test it.

Note: See TracTickets for help on using tickets.