Search for request

  1. Search 7.x for request
  2. Search 9.5.x for request
  3. Search 8.9.x for request
  4. Search 11.x for request
  5. Other projects
Title Object type File name Summary
RequestSanitizer::checkDestination function core/lib/Drupal/Core/Security/RequestSanitizer.php Checks a destination string to see if it is dangerous.
RequestSanitizer::processParameterBag function core/lib/Drupal/Core/Security/RequestSanitizer.php Processes a request parameter bag.
RequestSanitizer::sanitize function core/lib/Drupal/Core/Security/RequestSanitizer.php Strips dangerous keys from user input.
RequestSanitizer::SANITIZED constant core/lib/Drupal/Core/Security/RequestSanitizer.php Request attribute to mark the request as sanitized.
RequestSanitizer::SANITIZE_INPUT_SAFE_KEYS constant core/lib/Drupal/Core/Security/RequestSanitizer.php The name of the setting that configures the sanitize input safe keys.
RequestSanitizer::SANITIZE_LOG constant core/lib/Drupal/Core/Security/RequestSanitizer.php The name of the setting that determines if sanitized keys are logged.
RequestSanitizer::stripDangerousValues function core/lib/Drupal/Core/Security/RequestSanitizer.php Strips dangerous keys from $input.
RequestSanitizerTest class core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests RequestSanitizer class.
RequestSanitizerTest.php file core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php
RequestSanitizerTest::$errors property core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Log of errors triggered during sanitization.
RequestSanitizerTest::assertError function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Asserts that the expected error has been logged.
RequestSanitizerTest::createRequestForTesting function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Creates a request and sets PHP globals for testing.
RequestSanitizerTest::errorHandler function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Catches and logs errors to $this->errors.
RequestSanitizerTest::providerTestAcceptableDestinations function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Data provider for testing acceptable destinations.
RequestSanitizerTest::providerTestRequestSanitization function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Data provider for testRequestSanitization.
RequestSanitizerTest::providerTestSanitizedDestinations function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Data provider for testing sanitized destinations.
RequestSanitizerTest::setUp function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php
RequestSanitizerTest::testAcceptableDestinationGet function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests acceptable destinations are not removed from GET requests.
RequestSanitizerTest::testAcceptableDestinationPost function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests acceptable destinations are not removed from POST requests.
RequestSanitizerTest::testRequestSanitization function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests RequestSanitizer class.
RequestSanitizerTest::testSanitizedDestinationGet function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests unacceptable destinations are removed from GET requests.
RequestSanitizerTest::testSanitizedDestinationPost function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests unacceptable destinations are removed from GET requests.
RequestStack class core/lib/Drupal/Core/Http/RequestStack.php Forward-compatibility shim for Symfony's RequestStack.
RequestStack.php file core/lib/Drupal/Core/Http/RequestStack.php
RequestStack::getMainRequest function core/lib/Drupal/Core/Http/RequestStack.php Gets the main request.
RequestStackCacheContextBase class core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php Defines a base class for cache contexts depending only on the request stack.
RequestStackCacheContextBase.php file core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php
RequestStackCacheContextBase::$requestStack property core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php The request stack.
RequestStackCacheContextBase::__construct function core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php Constructs a new RequestStackCacheContextBase class.
RequestStackLegacyTest class core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php @coversDefaultClass \Drupal\Core\Http\RequestStack
@group legacy
RequestStackLegacyTest.php file core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php
RequestStackLegacyTest::testGetMainRequestDeprecation function core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php Tests deprecation message in our subclassed RequestStack.
request_format_route_filter service core/core.services.yml Drupal\Core\Routing\RequestFormatRouteFilter
request_stack service core/core.services.yml Symfony\Component\HttpFoundation\RequestStack
REQUEST_TIME constant core/includes/bootstrap.inc Time of the current request in seconds elapsed since the Unix Epoch.
ResourceBase::requestMethods function core/modules/rest/src/Plugin/ResourceBase.php Provides predefined HTTP request methods.
ResourceObjectNormalizationCacher::$requestStack property core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php The request stack.
ResourceObjectNormalizationCacher::setRequestStack function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Sets the request stack.
ResourceResponseValidatorTest::createRequest function core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php Helper method to create a request object.
ResourceTestBase::getAuthenticationRequestOptions function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Returns Guzzle request options for authentication.
ResourceTestBase::getAuthenticationRequestOptions function core/modules/rest/tests/src/Functional/ResourceTestBase.php Returns Guzzle request options for authentication.
ResourceTestBase::request function core/modules/rest/tests/src/Functional/ResourceTestBase.php Performs a HTTP request. Wraps the Guzzle HTTP client.
ResourceVersionRouteEnhancer::WORKING_COPIES_REQUESTED constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php A route parameter key which indicates that working copies were requested.
ResponseStatus::$requestStack property core/modules/system/src/Plugin/Condition/ResponseStatus.php The request stack.
ResponseStatus::setRequestStack function core/modules/system/src/Plugin/Condition/ResponseStatus.php
ResponseStatusTest::$requestStack property core/tests/Drupal/KernelTests/Core/Plugin/Condition/ResponseStatusTest.php The request stack used for testing.
rest_test.page_cache_request_policy.deny_test_auth_requests service core/modules/rest/tests/modules/rest_test/rest_test.services.yml Drupal\rest_test\PageCache\RequestPolicy\DenyTestAuthRequests
ReverseProxyMiddleware::setSettingsOnRequest function core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php Sets reverse proxy settings on Request object.
RouteMatch::createFromRequest function core/lib/Drupal/Core/Routing/RouteMatch.php Creates a RouteMatch from a request.
RouteMatchTest::testRouteMatchFromRequest function core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @covers ::createFromRequest
@covers ::__construct

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.