Метод | Описание | |
---|---|---|
Matches ( |
This method appends a forward slash character to the path part of each Uri where the path appears to be a folder reference that lacks a trailing forward slash. This fixes validation issues where http://test.com/testing does not match http://test.com/testing/ where the server is likely to interpret the two as the same resource. | |
RelaxedFolderLocationValidator ( ) : System |
Initializes a new instance of the RelaxedFolderLocationValidator class.
|
Метод | Описание | |
---|---|---|
MakeSafeFolderLocation ( |
Makes the safe folder location.
|
public Matches ( |
||
location | ||
expectedLocation | ||
Результат | bool |
public RelaxedFolderLocationValidator ( ) : System | ||
Результат | System |