Clarify segment handling for '..'.

This commit is contained in:
Sergio Benitez 2017-03-30 18:15:36 -07:00
parent df19ef74db
commit 10306c3b7e
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ impl<'a> FromSegments<'a> for Segments<'a> {
/// For security purposes, if a segment meets any of the following conditions,
/// an `Err` is returned indicating the condition met:
///
/// * Decoded segment starts with any of: `.`, `*`
/// * Decoded segment starts with any of: `.` (except `..`), `*`
/// * Decoded segment ends with any of: `:`, `>`, `<`
/// * Decoded segment contains any of: `/`
/// * On Windows, decoded segment contains any of: '\'