[wp-trac] [WordPress Trac] #37201: Allow access to .well-known prefix (RFC-5785) in default rewrite rules

WordPress Trac noreply at wordpress.org
Mon Jul 18 05:06:37 UTC 2016


#37201: Allow access to .well-known prefix (RFC-5785) in default rewrite rules
-------------------------------------+------------------------------
 Reporter:  jakubboucek              |       Owner:
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Rewrite Rules            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |     Focuses:  administration
-------------------------------------+------------------------------
Changes (by dd32):

 * keywords:   => reporter-feedback close


Comment:

 I'm not sure I see the need for this.

 The default WordPress rules allow for a file that exists to take
 precedence over WordPress handling the request. WordPress will respond
 with a non-200 response for a request to one of these URLs in the event
 the file doesn't exist.

 There's also the possibility (I think there exists at least one) plugin
 for WordPress which specifically DOES want to handle `/.well-known/` urls.

 Perhaps a better question is, @jakubboucek What does the lack of this rule
 currently cause issue with?
 It looks like Drupals rules are by default blocking access to `/.*`
 directories, so their handling of it isn't exactly relevant.

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


More information about the wp-trac mailing list