Catch the exception and return Http Code 400 as already done in the class for the non-redirect code path. To get the exception, visit /thumb.php?f=Redirect.jpg Bug: T387684 Change-Id: I45202572dfce8b60a8aed9343f7d99e2eee12415 (cherry picked from commit b43c89b297e895cb77fbf0f9efd987c6dbf7f50e) |
||
|---|---|---|
| .. | ||
| file | ||
| AuthenticatedFileEntryPointTest.php | ||
| FileBackendDBRepoWrapperTest.php | ||
| FileRepoTest.php | ||
| LocalRepoTest.php | ||
| MigrateFileRepoLayoutTest.php | ||
| RepoGroupTest.php | ||
| StoreBatchTest.php | ||
| Thumbnail404EntryPointTest.php | ||
| ThumbnailEntryPointTest.php | ||