Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#51772 closed defect (bug) (fixed)

Add HTTP_AUTHORIZATION RewriteRule to the default multisite .htaccess file

Reported by: pbiron Owned by: TimothyBlynJacobs
Priority: normal Milestone: 5.6
Component: Login and Registration Version: 5.6
Severity: normal Keywords: has-patch
Cc: Focuses: multisite, rest-api

Description

This is a follow to #42790.

Among other changes (in [49109]) a RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] line was added to the default single site .htaccess file.

The same rewrite rule should be added to the default multisite .htaccess file (generated in ​network_step2()).

Change History (7)

This ticket was mentioned in ​PR #743 on ​WordPress/wordpress-develop by ​TimothyBJacobs.


6 years ago
#1

  • Keywords has-patch added; needs-patch removed

#2 @TimothyBlynJacobs
6 years ago

Thanks for catching that @pbiron! Could you verify that appears in the network setup step?

#3 @pbiron
6 years ago

LGTM!

#4 @hellofromTonya
6 years ago

  • Version trunk → 4.4

#5 @TimothyBlynJacobs
6 years ago

  • Component REST API → Login and Registration
  • Focuses rest-api added
  • Version 4.4 → trunk

#6 @TimothyBlynJacobs
6 years ago

  • Owner set to TimothyBlynJacobs
  • Resolution → fixed
  • Status new → closed

In 49607:

App Passwords: Include authorization rewrite rule in default multisite .htaccess

This rule was previously added to WP_Rewrite, but multisite uses a different .htaccess generation mechanism.

Props pbiron.
Fixes #51772.
See [49109].

Note: See TracTickets for help on using tickets.