Type Property

URLPathAllowedCharacterSet

Returns the character set for characters allowed in a path URL component.

Declaration

@property(class, readonly, copy) NSCharacterSet *URLPathAllowedCharacterSet;

Discussion

The path component of a URL is the component immediately following the host component (if present). It ends wherever the query or fragment component begins. For example, in the URL http://www.example.com/index.php?key1=value1, the path component is /index.php.

See Also

Getting Character Sets for URL Encoding

URLFragmentAllowedCharacterSet

Returns the character set for characters allowed in a fragment URL component.

URLHostAllowedCharacterSet

Returns the character set for characters allowed in a host URL subcomponent.

URLPasswordAllowedCharacterSet

Returns the character set for characters allowed in a password URL subcomponent.

URLQueryAllowedCharacterSet

Returns the character set for characters allowed in a query URL component.

URLUserAllowedCharacterSet

Returns the character set for characters allowed in a user URL subcomponent.