Make WordPress Core


Ignore:
Timestamp:
06/24/2024 03:02:41 PM (6 months ago)
Author:
audrasjb
Message:

Grouped Backports to the 6.5 branch.

  • Editor: Fix Path Traversal issue on Windows in Template-Part Block.
  • Editor: Sanitize Template Part HTML tag on save.
  • HTML API: Run URL attributes through esc_url().

Merges [58470], [58471], [58472] and [58473] to the 6.5 branch.
Props xknown, peterwilsoncc, jorbin, bernhard-reiter, azaozz, dmsnell, gziolo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.5/src/wp-includes/functions.php

    r57707 r58474  
    61936193    }
    61946194
     6195    // Normalize path for Windows servers
     6196    $file = wp_normalize_path( $file );
     6197
    61956198    // `../` on its own is not allowed:
    61966199    if ( '../' === $file ) {
Note: See TracChangeset for help on using the changeset viewer.