[wp-trac] [WordPress Trac] #62568: MAX_LENGTH = 64 in /wp-includes/Requests/src/IdnaEncoder.php is too restrictive for modern URL use cases.

WordPress Trac noreply at wordpress.org
Tue Nov 26 15:35:13 UTC 2024


#62568: MAX_LENGTH = 64 in /wp-includes/Requests/src/IdnaEncoder.php is too
restrictive for modern URL use cases.
-------------------------+------------------------------
 Reporter:  knufflpuffl  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Charset      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by knufflpuffl):

 This is the error message which I got from my live installation:

 The full url here is: https://www.jh-design.at/vorschauen/0000
 -lieferservice-testumgebungLIVECached/

 {{{
 Fatal error: Uncaught WpOrg\Requests\Exception: Provided string is too
 long in /home/gj928nap/www/home/k0000-jhdesign-neu/vorschauen/0000
 -lieferservice-testumgebungLIVECached/wp-
 includes/Requests/src/IdnaEncoder.php:93 Stack trace: #0
 /home/gj928nap/www/home/k0000-jhdesign-neu/vorschauen/0000-lieferservice-
 testumgebungLIVECached/wp-includes/Requests/src/IdnaEncoder.php(68):
 WpOrg\Requests\IdnaEncoder::to_ascii('at/vorschauen/0...') #1
 /home/gj928nap/www/home/k0000-jhdesign-neu/vorschauen/0000-lieferservice-
 testumgebungLIVECached/wp-
 content/plugins/elementor/core/utils/str.php(27):
 WpOrg\Requests\IdnaEncoder::encode('www.jh-design.a...') #2 [internal
 function]: Elementor\Core\Utils\Str::Elementor\Core\Utils\{closure}(Array)
 #3 /home/gj928nap/www/home/k0000-jhdesign-neu/vorschauen/0000
 -lieferservice-testumgebungLIVECached/wp-
 content/plugins/elementor/core/utils/str.php(19):
 preg_replace_callback('/(https?:\\/\\/)(...', Object(Closure),
 'https://www.jh-...') #4 /home/gj928nap/www/home/k0000-jhdesign-
 neu/vorschauen/0000-liefe in /home/gj928nap/www/home/k0000-jhdesign-
 neu/vorschauen/0000-lieferservice-testumgebungLIVECached/wp-
 includes/Requests/src/IdnaEncoder.php on line 93

 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62568#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list