Language

IllegalCharacterFlags Enum

Definition

Enumerates values returned by several methods of IllegalCharacterFlags and taken as a parameter of the F:Android.Net.UrlQuerySanitizer+IllegalCharacterValueSanitizer..ctor member.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum IllegalCharacterFlags
[<System.Flags>]
type IllegalCharacterFlags = 
Inheritance
IllegalCharacterFlags
Attributes

Fields

Name Value Description
AllIllegal 0

Deny all special characters; Deny script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.ALL_ILLEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SpaceLegal 1

Allow space; Deny script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.SPACE_LEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SpaceOk 1

Allow space (' ') characters.

OtherWhitespaceOk 2

Allow whitespace characters other than space.

AllWhitespaceOk 3

Mask with both regular space and other whitespace OK

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.ALL_WHITESPACE_OK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Non7BitAsciiOk 4

Allow characters with character codes 128 to 255.

DquoteOk 8

Allow double quote characters.

SquoteOk 16

Allow single quote characters.

LtOk 32

Allow less-than characters.

GtOk 64

Allow greater-than characters.

AmpLegal 128

Allow ampersand; Deny script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.AMP_LEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AmpOk 128

Allow ampersand characters ('&')

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.AMP_OK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AmpAndSpaceLegal 129

Allow ampersand; Allow space; Deny script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.AMP_AND_SPACE_LEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

PctOk 256

Allow percent-sign characters ('%')

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.PCT_OK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UrlLegal 404

Allow characters used by encoded URLs; Deny script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.URL_LEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UrlAndSpaceLegal 405

Allow characters used by encoded URLs; Allow spaces; Deny script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.URL_AND_SPACE_LEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NulOk 512

Allow nul characters ('\0')

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.NUL_OK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ScriptUrlOk 1024

Allow text to start with a script URL such as "javascript:" or "vbscript:"

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.SCRIPT_URL_OK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AllButNulAndAngleBracketsLegal 1439
AllButWhitespaceLegal 1532

Allow all special characters except for:; whitespace characters; Nul ('\0'); Allow script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.ALL_BUT_WHITESPACE_LEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AllButNulLegal 1535

Allow all special characters except Nul. ('\0'); Allow script URLs.

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.ALL_BUT_NUL_LEGAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AllOk 2047

Mask with all fields set to OK

Android reference for android.net.UrlQuerySanitizer.IllegalCharacterValueSanitizer.ALL_OK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to