Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Noncompliant Code Example

Wiki MarkupThis noncompliant code example uses the locale-dependent {{String.toUpperCase()}} method to convert an HTML tag to upper case. While the English locale would convert "title" to "TITLE", the Turkish locale will convert "title" to "T?TLE," where '?' is the Latin capital letter 'I' with a dot above the character \ [[API 2006|AA. References#API 06]\].

Code Block
bgColor#FFcccc
"title".toUpperCase();

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

IDS09-J

medium

probable

medium

P8

L2

Bibliography

...

[[API 2006AA. References#API 06] ]

Class String]]></ac:plain-text-body></ac:structured-macro>

...

IDS08-J. Sanitize untrusted data passed to a regex            IDS10-J. Do not split characters between two data structures