You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows there are no problems but on Linux distributions when a file name has whitespace, it is appended around single quotes. This leads to invalid behavior, because in the database the image name is stored without single quotes but in the file system it is (this should not be the case).
This would cause problems, for example, when you want to edit the image of a dental service, it will not be possible to delete the old image because the image name in the database will not match the image in the file system.
Sample:
File system:
'brackets_0023222.png'
database:
brackets_0023222.png
The text was updated successfully, but these errors were encountered:
Apparently the app still works on Windows 10 or Ubuntu even if the image name has whitespaces. Likewise, it would be nice if could replace the whitespaces with underscores to avoid possible problems with other operating systems.
On Windows there are no problems but on Linux distributions when a file name has whitespace, it is appended around single quotes. This leads to invalid behavior, because in the database the image name is stored without single quotes but in the file system it is (this should not be the case).
This would cause problems, for example, when you want to edit the image of a dental service, it will not be possible to delete the old image because the image name in the database will not match the image in the file system.
Sample:
File system:
database:
The text was updated successfully, but these errors were encountered: