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
For example file index.html reconstructs to /some/trailing/slash/path/./index.html which later is normalized to /some/trailing/slash/path/index.html. The function then checks if the file is in the directory (with string::find) but fails because of the normalized resource directory (mind the extra dot there).
Also mind that boost::filesystem::path::normalize() is set to deprecated.
The text was updated successfully, but these errors were encountered:
Using the FileService with pion v5.0.7 and boost filesystem V3:
Results in an unusable FileService. Because the FileService stores this path normalized which would be
/some/trailing/slash/path/.
If some request is handled by the FileService the file path is constructed (see
pion/services/FileService.cpp
Line 146 in 96c8e45
For example file
index.html
reconstructs to/some/trailing/slash/path/./index.html
which later is normalized to/some/trailing/slash/path/index.html
. The function then checks if the file is in the directory (withstring::find
) but fails because of the normalized resource directory (mind the extra dot there).Also mind that
boost::filesystem::path::normalize()
is set to deprecated.The text was updated successfully, but these errors were encountered: