Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLAT-10050:L3 CDN tokenizer #8714

Merged
merged 4 commits into from Aug 21, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

PLAT-10050:renaming variable

  • Loading branch information...
ravitshalem committed Aug 21, 2019
commit 5977e2ede49d8500dad74b990dca564daca818c5
@@ -68,13 +68,13 @@ public function tokenizeMultiUrls(&$baseUrl, &$flavors)
{
return;
}
$urlTokenized = $this->generateToken($acl);
$token = $this->generateToken($acl);
foreach($flavors as $flavorKey => $flavor)
{
if (isset($flavor['url']))
{
$path = '/' . ltrim($flavor['url'], '/');
$flavors[$flavorKey]['url'] = $urlTokenized . $path;
$flavors[$flavorKey]['url'] = $token . $path;
}
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.