Make WordPress Core

Opened 8 years ago

Last modified 4 years ago

#39670 new defect (bug)

urlencoded non-alphanumeric permalink

Reported by: jeongsu's profile jeongsu Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Permalinks Keywords:
Focuses: Cc:

Description

I don't know it is the problem of wordpress or not. It may yes or it may other problem like server or php setting.

When I update new version of wordpress, some permalink that contains non-alphanumeric characters not working. Because $req_uri of WP::parse_request() in class-wp.php has urlencoded.

So I think it's better to urldecode to proceed parsing.

                        list( $req_uri ) = explode( '?', $_SERVER['REQUEST_URI'] );
                        $req_uri = urldecode($req_uri); // added to fix urlencoded permalink
                        $self = $_SERVER['PHP_SELF'];

Change History (3)

#1 @SergeyBiryukov
8 years ago

  • Component changed from General to Permalinks
  • Keywords reporter-feedback added

Hi @jeongsu, welcome to Trac! Thanks for the report.

some permalink that contains non-alphanumeric characters not working.

Could you provide some examples? This might be related to (or a duplicate of) #10249 and #17450.

#3 @hellofromTonya
4 years ago

  • Keywords reporter-feedback removed

Removing reporter feedback as examples were provided.

Note: See TracTickets for help on using tickets.