by xjm: More coding standards fixes.
parent
08607fbb51
commit
12a3e7bafb
|
@ -859,7 +859,7 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS
|
|||
// https://www.drupal.org/node/2504709.
|
||||
$parsed = UrlHelper::parse($request_uri);
|
||||
unset($parsed['query'][static::AJAX_FORM_REQUEST], $parsed['query'][MainContentViewSubscriber::WRAPPER_FORMAT]);
|
||||
$action = $parsed['path'] . ($parsed['query'] ? ('?' . UrlHelper::buildQuery($parsed['query'])) : '');
|
||||
$action = $parsed['path'] . ($parsed['query'] ? ('?' . UrlHelper::buildQuery($parsed['query'])) : '');
|
||||
return UrlHelper::filterBadProtocol($action);
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
namespace Drupal\filter\Plugin\Filter;
|
||||
|
||||
use Drupal\Component\Utility\Html;
|
||||
use Drupal\Component\Utility\Xss;
|
||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||
use Drupal\filter\FilterPluginManager;
|
||||
use Drupal\filter\FilterProcessResult;
|
||||
|
|
Loading…
Reference in New Issue