|
YAACC - UPNP Client and Server
|
Validates the device id that appears in a proxy URL (/proxy/<deviceId>/<key>) and in the preference key manage_external_seeking_<deviceId>.
More...

Static Public Member Functions | |
| static boolean | isValid (String id) |
Static Public Attributes | |
| static final int | MAX_LENGTH = 200 |
| The longest accepted id. | |
Validates the device id that appears in a proxy URL (/proxy/<deviceId>/<key>) and in the preference key manage_external_seeking_<deviceId>.
The id comes from the URL and is untrusted: it is accepted only if it looks like a UPnP device name (a UUID, optionally with a uuid: prefix, or the vendor ids seen in practice): 1 to 200 ASCII letters, digits and : . _ -. Anything else (separators, percent signs, whitespace, control or non-ASCII characters) is refused. Plain Java.