mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 12:18:14 +01:00
Merge pull request #722 from vlakoff/isBase64
Add a code comment to prevent future regressions
This commit is contained in:
commit
8b0ca67c3a
@ -332,6 +332,7 @@ abstract class AbstractDecoder
|
||||
case $this->isFilePath():
|
||||
return $this->initFromPath($this->data);
|
||||
|
||||
// isBase64 has to be after isFilePath to prevent false positives
|
||||
case $this->isBase64():
|
||||
return $this->initFromBinary(base64_decode($this->data));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user