aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/sdl_net/handlerutils.cpp
AgeCommit message (Collapse)Author
2019-09-21NETWORKING: Convert translation results to UTF-8 for local webserver pagesThierry Crozat
2016-09-05CLOUD: Fix looking for the wwwroot.zip archiveThierry Crozat
If the themepath was defined but the wwwroot.zip file was not in that path, looking for it failed as it never reached the part of the code using SearchMan to look for it.
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2016-08-30CLOUD: Fix Webserver's usage of DefaultSaveFileManagerAlexander Tkachev
concatWithSavesPath() is only defined when curl is used, but was used in Webserver even when curl is unavailable.
2016-08-24CLOUD: Use forbidden combinationsAlexander Tkachev
I accidentally tried "folder../" instead "folder/../" and understood that I made "folder../" forbidden too, though it's a valid folder name.
2016-08-24CLOUD: Handle paths in marked placesAlexander Tkachev
Paths containing '../' are forbidden to use in Files Manager. There is also a special inner black list of paths which are not used and a check that specified path is under "savepath" or "rootpath" (from "cloud" domain).
2016-08-24CLOUD: JANITORIAL: Fix code formattingEugene Sandulenko
2016-08-24CLOUD: Fix code formattingPeter Bozsó
2016-08-24CLOUD: Do some refactoring/cleanup in NetworkingAlexander Tkachev
2016-08-24CLOUD: Add UploadFileClientHandlerAlexander Tkachev
Now Client reads the first headers block, then LocalWebserver decides which Handler to use. In case of "/upload", UploadFileHandler is used. But now it only knows the "path" parameter. If that's valid, actual UploadFileClientHandler is created, which reads the contents of the request and, when finds there an "upload_file" field, starts saving it in the directory specified by "path". With that we don't need temp files approach from Reader class.