summaryrefslogtreecommitdiff
path: root/controllers/micropub.php
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2020-09-13 21:08:24 -0700
committerJesse Morgan <jesse@jesterpm.net>2020-09-13 21:08:24 -0700
commita0c5f0e1fb3c3e579637f78e7c218ce6cb0c2db5 (patch)
tree4197eecb1992c17b597018c36c68cca5e18337dc /controllers/micropub.php
parentcdbc6aa4f305529f618e19b5af31ed896fb0a673 (diff)
Use parse_headers for media endpoint uploadsfix-location-header
micropub_media_post_for_user makes a case-sensitive search for the Location header, which fails if the location header is all lowercase. This change uses the `headers` fields, introduced in 2b98a4548e82f1133bf62918b0106ab99a21fa29a, to find the Location header, regardless of case.
Diffstat (limited to 'controllers/micropub.php')
0 files changed, 0 insertions, 0 deletions