Skip to content

Example 6 returns unexpected false in isXssFound() #141

Open
@banakito

Description

@banakito

What is this feature about (expected vs actual behaviour)?

Expected:

$harm_string = "\x3cscript src=http://www.example.com/malicious-code.js\x3e\x3c/script\x3e";
$harmless_string = $antiXss->xss_clean($harm_string);
$antiXss->isXssFound(); // true

Actual:

$antiXss->isXssFound(); // false

How can I reproduce it?

Just Execute code above

Does it take minutes, hours or days to fix?

IDK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions