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

Syntax

[System.Flags]
public enum IllegalCharacterFlags

Remarks

Enumerates values returned by the following: and taken as a parameter of the Android.Net.UrlQuerySanitizer.IllegalCharacterValueSanitizer..ctor member.

Members

Member NameDescription
AllButNulAndAngleBracketsLegal
  • Allow all but.
    • Nul ('\0')
    • Angle brackets ('<_27_2c_ _27_="">')
    • Deny script URLs.
    AllButNulLegal
    • Allow all special characters except Nul. ('\0').
    • Allow script URLs.
    AllButWhitespaceLegal
    • Allow all special characters except for:
      • whitespace characters
      • Nul ('\0')
      • Allow script URLs.
      AllIllegal
      • Deny all special characters.
      • Deny script URLs.
      AllOkMask with all fields set to OK
      AllWhitespaceOkMask with both regular space and other whitespace OK
      AmpAndSpaceLegal
      • Allow ampersand.
      • Allow space.
      • Deny script URLs.
      AmpLegal
      • Allow ampersand.
      • Deny script URLs.
      AmpOkAllow ampersand characters ('&')
      DquoteOkAllow double quote characters. ('"')
      GtOkAllow greater-than characters. ('>')
      LtOkAllow less-than characters. ('<_27_29_>
      Non7BitAsciiOkAllow characters with character codes 128 to 255.
      NulOkAllow nul characters ('\0')
      OtherWhitespaceOkAllow whitespace characters other than space. The other whitespace characters are '\t' '\f' '\n' '\r' and '\0x000b' (vertical tab)
      PctOkAllow percent-sign characters ('%')
      ScriptUrlOkAllow text to start with a script URL such as "javascript:" or "vbscript:"
      SpaceLegal
      • Allow space.
      • Deny script URLs.
      SpaceOkAllow space (' ') characters.
      SquoteOkAllow single quote characters. ('\'')
      UrlAndSpaceLegal
      • Allow characters used by encoded URLs.
      • Allow spaces.
      • Deny script URLs.
      UrlLegal
      • Allow characters used by encoded URLs.
      • Deny script URLs.

      Requirements

      Namespace: Android.Net
      Assembly: Mono.Android (in Mono.Android.dll)
      Assembly Versions: 0.0.0.0