MediaLibraryState passes all query parameters around, not just the ones it needs

Created on 25 October 2023, about 1 year ago
Updated 15 April 2024, 7 months ago

Problem/Motivation

Follow-up from πŸ“Œ Compress ajax_page_state Fixed .

 // Once we have validated the required parameters, we restore the parameters
    // from the request since there might be additional values.
    $state->replace($query->all());

Ideally this would use an allow-list of query parameters instead of grabbing everything out of the query.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024