Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Drupal\block_test\Plugin\Block; /** * Provides a block to test XSS in t..

Decoded Output download

<?php

namespace Drupallock_test\Plugin\Block;

/**
 * Provides a block to test XSS in title.
 *
 * @Block(
 *   id = "test_xss_title",
 *   admin_label = "<script>alert('XSS subject');</script>"
 * )
 */
class TestXSSTitleBlock extends TestCacheBlock {
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Drupal\block_test\Plugin\Block;

/**
 * Provides a block to test XSS in title.
 *
 * @Block(
 *   id = "test_xss_title",
 *   admin_label = "<script>alert('XSS subject');</script>"
 * )
 */
class TestXSSTitleBlock extends TestCacheBlock {
}

Function Calls

None

Variables

None

Stats

MD5 8c72e6676f3600e2da32489e3f5ca28c
Eval Count 0
Decode Time 87 ms