메소드 | 설명 | |
---|---|---|
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 |