taint, untaint, apply-taint. Transforming data
|
as-is
|
no transformation
|
file-spec
|
characters * ? " < > | are replaced with _XX, where XX is character's hex-code
|
uri
|
characters other than numbers or lower/uppercase Latin letters as well as characters _ - . " are replaced with %XX, where XX is a character's hex-code
|
http-header
|
the same as URI
|
mail-header
|
if charset is known (if not, upper/lowercase will not work), the fragment starting with the eighth-bit first letter and until the end of the string will be represented in such a way:
Subject: Re: parser3: =?koi8-r?Q?=D3=C5=CD=C9=CE=C1=D2?= |
sql
|
depending on SQL-server
for Oracle, ODBC and SQLite ' is replaced with '' for PgSQL characters ' and \ are prefixed with \ for MySQL characters ' " and \ are prefixed with \, characters with codes 0x00 0x0A 0x0D are replaced with \0 \n \r for transformation needed that code which made a transformation are located inside ^connect[]{} operator. |
js
|
" is replaced with \"
' is replaced with \' \ is replaced with \\ newline character is replaced with \n character with code 0xFF is preceded by \ |
json
|
characters " \ / are prefixed by \
newline character is replaced with \n tab character is replaced with \t characters with codes 0x08 0x0Ñ 0x0D are replaced with \b \f \r in case of non-UTF-8 output all unicode characters is replaced with \uXXXX |
regex
|
characters \ ^ $ . [ ] | ( ) ? * + { } - are prefixed by \
|
parser-code
|
special characters are prefixed by ^
|
xml
|
& is replaced with &
> is replaced with > < is replaced with < " is replaced with " ' is replaced with ' |
html
|
& is replaced with &
> is replaced with > < is replaced with < " is replaced with " |
optimized-as-is
optimized-xml optimized-html |
in addition to replacements, optimizes "white spaces" (space, tab, newline characters).
multiple repetition of above-mentioned characters in a row is replaced with a single one-that which goes first in the row |
type
|
what is transformed
|
sql
|
body of SQL-query
|
xml
|
XML-code-while an object of class xdoc is created
|
optimized-html
|
page output to browser
|
regex
|
REGEX-patterns
|
parser-code
|
body of operator process
|
Copyright © 19972021 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 25.01.2021 |