UrlGeneratorTest UrlGeneratorTest(
$methodName
)
|
|
Parameters:
void testAppendNestedParamsToUrl(
)
|
|
void testAppendParamsToUrl(
)
|
|
void testAppendParamsToUrlDoesNotHandleBracketsInKeyString(
)
|
|
void testAppendParamsToUrlEmptyParams(
)
|
|
void testAppendParamsToUrlNoHtmlEntities(
)
|
|
void testAppendParamsToUrlNoPrefix(
)
|
|
void testAppendParamsToUrlNoUrlEncode(
)
|
|
void testAppendParamsToUrlPreservesParamOrder(
)
|
|
void testAppendParamsToUrlUrlEncodesParamKeyCorrectly(
)
|
|
void testAppendParamsToUrlWithQueryString(
)
|
|
void testBaseFileWithQMark(
)
|
|
void testCurrentUrlToken(
)
|
|
void testDetectHeaderInjectionAttack(
)
|
|
void testDetectPhishingAttack(
)
|
|
void testDetectPhishingAttackThroughFormUrl(
)
|
|
void testEmbedForceSessionId(
)
|
|
void testGenerateFullUrlOff(
)
|
|
void testGenerateFullUrlOn(
)
|
|
void testGenerateFullUrlOnForRelative(
)
|
|
void testGenerateReturnUrl(
)
|
|
void testGenerateServerRelativeUrlOff(
)
|
|
void testGenerateServerRelativeUrlOn(
)
|
|
void testGenerateServerRelativeUrlOnForRelative(
)
|
|
void testGenerateServerRelativeUrlOnFullUrlOn(
)
|
|
void testGenerateUrlAddsAuthTokenForControllerUrls(
)
|
|
void testGenerateUrlCachesReturnUrlByCurrentView(
)
|
|
void testGenerateUrlCookielessEmbedded(
)
|
|
void testGenerateUrlEmbeddedDownloadItemCookiePathNotSet(
)
|
|
void testGenerateUrlEmbeddedFullBaseUri(
)
|
|
void testGenerateUrlEmbeddedMultisite(
)
|
|
void testGenerateUrlEmbeddedPathBaseUri(
)
|
|
void testGenerateUrlEmbeddedWithCookiePathSet(
)
|
|
void testGenerateUrlForceSessionId(
)
|
|
void testGenerateUrlForceSessionIdFalse(
)
|
|
void testGenerateUrlForController(
)
|
|
void testGenerateUrlForView(
)
|
|
void testGenerateUrlInitWithForceEmptyFilePart(
)
|
|
void testGenerateUrlInMultisite(
)
|
|
void testGenerateUrlNoHtmlEntities(
)
|
|
void testGenerateUrlNoUrlEncode(
)
|
|
void testGenerateUrlSwapsInReturnUrl(
)
|
|
void testGenerateUrlUseAuthTokenFalseHasNoAuthToken(
)
|
|
void testGenerateUrlUseAuthTokenTrueControllerUrlHasAuthToken(
)
|
|
void testGenerateUrlUseAuthTokenTrueHasAuthToken(
)
|
|
void testGenerateUrlWithForceSessionIdFalseOverridesEmbedForceSessionId(
)
|
|
void testGenerateUrlWithoutPersistentSession(
)
|
|
void testGenerateUrlWithoutSession(
)
|
|
void testGenerateUrlWithProtocol(
)
|
|
void testGetCacheableUrl(
)
|
|
void testGetCookiePath(
)
|
|
void testGetCurrentRequestUri(
)
|
|
void testGetCurrentRequestUriCachesResult(
)
|
|
void testGetCurrentRequestUriForAbsoluteUrl(
)
|
|
void testGetCurrentUrl(
)
|
|
void testGetCurrentUrlDir(
)
|
|
void testGetCurrentUrlDirBaseFileNotFound(
)
|
|
void testGetHostNameEmbeddedOverride(
)
|
|
void testGetHostNameOverride(
)
|
|
void testGetNavigationReturnUrlArrayParam(
)
|
|
void testGetNavigationReturnUrlNoCookies(
)
|
|
Test non-standard ports go in both HTTP_HOST and SERVER_PORT
void testInitNavigationHandlesEmbedUriWithoutFilePart(
)
|
|
void testInitSetsIsCookiePathConfiguredIfEmbedded(
)
|
|
void testLocalUrlMapAddNew(
)
|
|
void testLocalUrlMapCacheHit(
)
|
|
void testLocalUrlMapForceCheckDoesNotSave(
)
|
|
void testLocalUrlMapSave(
)
|
|
void testMakeAbsoluteUrlForAbsoluteUrl(
)
|
|
void testMakeAbsoluteUrlForRelativeUrl(
)
|
|
void testMakeAbsoluteUrlForServerRelativeUrl(
)
|
|
void testMakeRelativeUrl(
)
|
|
void testMakeRelativeUrlBaseFileInReturnUrl(
)
|
|
void testMakeRelativeUrlBaseFileNotInRequestUri(
)
|
|
void testMakeRelativeUrlBaseFileNotInReturnUrl(
)
|
|
void testMakeRelativeUrlCachesStaticComponents(
)
|
|
void testMakeRelativeUrlDifferentServerPath(
)
|
|
void testMakeRelativeUrlDifferentSubdomains(
)
|
|
void testMakeRelativeUrlDontForceServerRelative(
)
|
|
void testMakeRelativeUrlForceServerRelative(
)
|
|
void testMakeRelativeUrlOtherProtocol(
)
|
|
void testMakeServerRelativeUrl(
)
|
|
Test non-standard ports go in both HTTP_HOST and SERVER_PORT (also tests ::init)
Test browsing to https://example.com
Test non-standard port only in SERVER_PORT. This is the case where the browser went to http://example.com and got internally redirected to something like http://internal.server:82/. We want to serve up a new url that the browser can handle.
void testRelativeUrlOverrides(
)
|
|
void _initNewUrlGenerator(
[
$baseUri = null], [
$g2Uri = null], [
$embedSessionString = null]
)
|
|
Parameters:
|
$baseUri: |
|
|
$g2Uri: |
|
|
$embedSessionString: |
|
void _prepareGenerateUrl(
$cookiePath,
$baseUri,
$g2Uri, [
$embedSessionString = null]
)
|
|
Parameters:
|
$cookiePath: |
|
|
$baseUri: |
|
|
$g2Uri: |
|
|
$embedSessionString: |
|