Werk #4750

KomponenteWATO
TitelEnsure uploaded icons are saved with their filename instead of paths
Datum2017-05-30 07:49:08
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0,1.5.0i1,1.2.8p23
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt keine manuelles eingreifen

Uploaded icons may be saved with their full origin path as file name (the location the file is stored on the client) with some browsers. This could end up in paths like this:

C:\Users\Username\Documents\Icons\service.png will be stored in Check_MK like ~/local/share/check_mk/web/htdocs/images/icon/C:\\Users\\Username\\Documents\\Icons\\service.png

These files could not be used by the user after upload. These files are now saved with their filename as expected.