[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:00:20 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):

 I think so too - however simply installing a wordpress installation in a
 long subfolder leading to a longer domain name then 64 characters is
 leading to a fatal php error exceeding this limit eg:
 http://test.localhost/subfolder1/subfolder2/subfolder3/subfolder4/web/

 I know this is quite an uncommon usage, but I could definitely see it in
 testing scenarios or something similar.

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


More information about the wp-trac mailing list