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
19
19
{
20
20
namespace
21
21
{
22
- const ::utility::string_t dotSegment = _XPLATSTR(" ." );
23
- const ::utility::string_t dotDotSegment = _XPLATSTR(" .." );
24
-
25
22
// / <summary>
26
23
// / Unreserved characters are those that are allowed in a URI but do not have a reserved purpose. They include:
27
24
// / - A-Z
@@ -445,6 +442,9 @@ namespace
445
442
// 5.2.4. Remove Dot Segments https://tools.ietf.org/html/rfc3986#section-5.2.4
446
443
void removeDotSegments (uri_builder &builder)
447
444
{
445
+ const ::utility::string_t dotSegment = _XPLATSTR (" ." );
446
+ const ::utility::string_t dotDotSegment = _XPLATSTR (" .." );
447
+
448
448
if (builder.path ().find (_XPLATSTR (' .' )) == utility::string_t ::npos)
449
449
return ;
450
450
You can’t perform that action at this time.
0 commit comments