File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ namespace web { namespace details
1919{
2020namespace
2121{
22- const ::utility::string_t dotSegment = _XPLATSTR(" ." );
23- const ::utility::string_t dotDotSegment = _XPLATSTR(" .." );
24-
2522 // / <summary>
2623 // / Unreserved characters are those that are allowed in a URI but do not have a reserved purpose. They include:
2724 // / - A-Z
@@ -445,6 +442,9 @@ namespace
445442 // 5.2.4. Remove Dot Segments https://tools.ietf.org/html/rfc3986#section-5.2.4
446443 void removeDotSegments (uri_builder &builder)
447444 {
445+ const ::utility::string_t dotSegment = _XPLATSTR (" ." );
446+ const ::utility::string_t dotDotSegment = _XPLATSTR (" .." );
447+
448448 if (builder.path ().find (_XPLATSTR (' .' )) == utility::string_t ::npos)
449449 return ;
450450
You can’t perform that action at this time.
0 commit comments