Url Helper

Methods

getParamFromQueryString()

getParamFromQueryString(name, url): null | string

Parameters

name: string

url: string

Returns

null | string


parseQParamToObject()

parseQParamToObject(queryString): null | string

Parameters

queryString: string

Returns

null | string


removePiiFromQueryString()

removePiiFromQueryString(queryString): null | string

Parameters

queryString: undefined | null | string

Returns

null | string


removePiiFromUrl()

removePiiFromUrl(url): null | string

Parameters

url: undefined | null | string

Returns

null | string


sanitizeResourceUrl()

sanitizeResourceUrl(rawUrl, removeFileExtension): string

Parameters

rawUrl: string

removeFileExtension: boolean= true

Returns

string