[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:22:26 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 siliconforks):

 Replying to [comment:5 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/

 What is the error message you're getting from the fatal PHP error?  (I'm
 not sure it has anything to do with the 64-character `IdnaEncoder` limit.)

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


More information about the wp-trac mailing list