Support » Plugin: Simply Static » Fix utf8 characters/urls

  • fisherhu

    (@fisherhu)


    I had troubles accessing utf-8(?) urls:

    URI-path (raw)  :  /tag/%E7%81%BD/
    URI-path (clean):  /tag/\xe7\x81\xbd/
    

    So in the file includes/class-ss-url-fetcher.php I have changed the

    $relative_filename = $this->create_directories_for_static_page( $static_page );

    to

    $relative_filename = urldecode($this->create_directories_for_static_page( $static_page ));

    Just fyi 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fix utf8 characters/urls’ is closed to new replies.