tezoatlipoca / GeFeSLE-server

GeFeSLE - Generic, Federated, Subscribable List Engine
1 stars 0 forks source link

paths on linux handled differenly than windows #82

Closed tezoatlipoca closed 4 months ago

tezoatlipoca commented 4 months ago

2024-05-11T22:36:55 TRACE | [CleanWWWRoot//D:\repos\GeFeSLE-server\GeListFileController.cs:295] CleanWWWRoot -- deleting /home/tezoatlipoca/bin/gefesle/wwwroot/rss-new list fu.xml 2024-05-11T22:36:55 TRACE | [CleanWWWRoot//D:\repos\GeFeSLE-server\GeListFileController.cs:295] CleanWWWRoot -- deleting /home/tezoatlipoca/bin/gefesle/wwwroot/new list fu.json 2024-05-11T22:36:55 TRACE | [CleanWWWRoot//D:\repos\GeFeSLE-server\GeListFileController.cs:303] CleanWWWRoot -- /home/tezoatlipoca/bin/gefesle/wwwroot\uploads ? /home/tezoatlipoca/bin/gefesle/wwwroot/lib 2024-05-11T22:36:55 TRACE | [CleanWWWRoot//D:\repos\GeFeSLE-server\GeListFileController.cs:306] CleanWWWRoot -- deleting D:/home/tezoatlipoca/bin/gefesle/wwwroot/lib 2024-05-11T22:36:55 TRACE | [CleanWWWRoot//D:\repos\GeFeSLE-server\GeListFileController.cs:303] CleanWWWRoot -- /home/tezoatlipoca/bin/gefesle/wwwroot\uploads ? /home/tezoatlipoca/bin/gefesle/wwwroot/uploads 2024-05-11T22:36:55 TRACE | [CleanWWWRoot//D:\repos\GeFeSLE-server\GeListFileController.cs:306] CleanWWWRoot -- deleting D:/home/tezoatlipoca/bin/gefesle/wwwroot/uploads 2024-05-11T22:36:55 TRACE | [FreshStart//D:\repos\GeFeSLE-server\GeListFileController.cs:326] FreshStart -- /lib/easymde/easymde.min.css 2024-05-11T22:36:55 TRACE | [VerifyPackagedResourceFile//D:\repos\GeFeSLE-server\GeListFileController.cs:201] VerifyPackagedResourceFile 2024-05-11T22:36:55 TRACE | [IsItAProtectedFile//D:\repos\GeFeSLE-server\GeListFileController.cs:91] IsItAProtectedFile -- /lib/easymde/easymde.min.css

folderz in wwwr are cleaned and file trncations are different win 2 linux

tezoatlipoca commented 4 months ago

Fixed all occurances of use of GlobalConfig.wwwroot and any folders with a proper Path.Combine directive. Fixed Dbg.d filename by using platform specific seperator strings and substitution of \ or / characters to support cross compilation + execution either way.