Make WordPress Core

Opened 8 years ago

Last modified 7 months ago

#45897 new defect (bug)

Chinese page uri dump fail

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

Description (last modified by sabernhardt)

In theme home page , dump fail when clike message page if uri is chinese. In file wp-includes/class-wp.php,
should modify like this:

list( $req_uri ) = explode( '?', urldecode( $_SERVER['REQUEST_URI'] ) );

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@sabernhardt
6 years ago

#1 @sabernhardt
6 years ago

  • Component GeneralI18N
  • 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.

#2 @sabernhardt
4 years ago

  • Description modified (diff)
  • Keywords has-patch added; needs-patch removed

This ticket was mentioned in Slack in #core-test by r1k0. View the logs.


7 months ago

Note: See TracTickets for help on using tickets.