security issue with image display
an uploaded image is shown by a direct reference to the /storage directory like ---img width="100" src="/storage/pathToImage/"---- The system should not support a direct access to /storage by a proper permission setting. Users should not be able to access any /storage information by a URL. To fix that for the images I suggest to use for getImageDetails() a base64 coded image upload like: $imgpath =
imageId."_".$imageName;
imgpath, PATHINFO_EXTENSION);
imgpath);
type.";base64,".base64_encode(
There was an error rendering this math block. KaTeX parse error: Expected '}', got 'EOF' at end of input: …h="100" src="{
str}"---