14 calls to UrlHelper::isExternal() in Zircon Profile 8
- BrowserTestBase::drupalGet in core/
modules/ simpletest/ src/ BrowserTestBase.php - Retrieves a Drupal path or an absolute path.
- FormBuilder::doBuildForm in core/
lib/ Drupal/ Core/ Form/ FormBuilder.php - Builds and processes all elements in the structured form array.
- GotoAction::execute in core/
modules/ action/ src/ Plugin/ Action/ GotoAction.php - Executes the plugin.
- LocalAwareRedirectResponseTrait::isLocal in core/
lib/ Drupal/ Core/ Routing/ LocalAwareRedirectResponseTrait.php - PathValidator::getUrl in core/
lib/ Drupal/ Core/ Path/ PathValidator.php - Helper for getUrlIfValid() and getUrlIfValidWithoutAccessCheck().
- RedirectDestination::get in core/
lib/ Drupal/ Core/ Routing/ RedirectDestination.php - Gets the destination as URL.
- RedirectResponseSubscriber::getDestinationAsAbsoluteUrl in core/
lib/ Drupal/ Core/ EventSubscriber/ RedirectResponseSubscriber.php - Converts the passed in destination into an absolute URL.
- RedirectResponseSubscriber::sanitizeDestination in core/
lib/ Drupal/ Core/ EventSubscriber/ RedirectResponseSubscriber.php - Sanitize the destination parameter to prevent open redirect attacks.
- UnroutedUrlAssembler::assemble in core/
lib/ Drupal/ Core/ Utility/ UnroutedUrlAssembler.php - This is a helper function that calls buildExternalUrl() or buildLocalUrl() based on a check of whether the path is a valid external URL.
- Url::fromInternalUri in core/
lib/ Drupal/ Core/ Url.php - Creates a new Url object for 'internal:' URIs.
- UrlHelperTest::testIsExternal in core/
tests/ Drupal/ Tests/ Component/ Utility/ UrlHelperTest.php - Tests external versus internal paths.
- UrlTest::testDrupalParseUrl in core/
modules/ system/ src/ Tests/ Common/ UrlTest.php - Tests UrlHelper::parse().
- WebTestBase::assertUrl in core/
modules/ simpletest/ src/ WebTestBase.php - Passes if the internal browser's URL matches the given path.
- WebTestBase::buildUrl in core/
modules/ simpletest/ src/ WebTestBase.php - Builds an a absolute URL from a system path or a URL object.