This could have unwanted side effects I think.
This commit is contained in:
parent
58200757d7
commit
85ad373ff3
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class UploadsRoutes implements RouteHandler {
|
|||
try {
|
||||
$variantInfo = $this->uploadsCtx->uploads->getUploadVariant($uploadInfo, $uploadVariant);
|
||||
} catch(RuntimeException $ex) {
|
||||
if($isOriginal)
|
||||
if($isOriginal || $isJson)
|
||||
return 404;
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue