[wp-trac] [WordPress Trac] #30377: wp_check_filetype is broken when checking urls with parameters
WordPress Trac
noreply at wordpress.org
Wed Mar 9 01:21:48 UTC 2022
#30377: wp_check_filetype is broken when checking urls with parameters
-------------------------------------------------+-------------------------
Reporter: supercleanse | Owner: audrasjb
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.0
Component: Media | Version: 4.0
Severity: normal | Resolution:
Keywords: has-unit-tests needs-dev-note | Focuses:
needs-patch |
-------------------------------------------------+-------------------------
Comment (by dd32):
Replying to [comment:58 audrasjb]:
> @dd32 I'm trying to reproduce the issue but I'm struggling a bit with
ms-files.php, it's pretty hard to reproduce on a new install.
Unfortunately I'm not aware of how to setup Multisite using ms-files.php,
You probably need to manually flip the `ms_files_rewriting` site option,
or perhaps even just request `ms-
files.php?file=relative/path/to/file.ext`. I can say that
`strip_fragment_from_url` is in canonical and not loaded in multisite
SHORTINIT though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30377#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list