boost::urls::static_url::normalize_path :: Boost Libraries Documentation

# boost::urls::static_url::normalize_path

Normalize the URL path

## Synopsis

Declared in `<boost/url/static_url.hpp>`

    static_url&
    normalize_path();

## Description

Applies Syntax‐based normalization to the URL path.

Percent‐encoding triplets are normalized to uppercase letters. Percent‐encoded octets that correspond to unreserved characters are decoded. Redundant path‐segments are removed.

## Exception Safety

Strong guarantee. Calls to allocate may throw.

## Specification

- 6.2.2 Syntax‐Based Normalization (rfc3986)

## Return Value

`*this`

Created with MrDocs