Skip to content

Conversation

@vipu0303
Copy link
Collaborator

This PR updates the urls parsing logic to have , as delimiter instead of ||
The excel authoring and this PR merge to main should be done at same time so as to not break the experience on prod.

Resolves: MWPW-185638

Test URLs:

The before URL works now as the prompt excel has || as delimeter
The After URL will work once the the prompt excel is updated to have , as delimiter.

sanjayms01 and others added 2 commits January 29, 2026 09:24
[[MWPW-186708][Domain routing]Load error file from adobe.com on acrobat
subdomain
](40d7d4f)
[[MWPW-186857]Fix tab trap issue
(](6d07562)
[[MWPW-171479] fixing the grey-line issue
(](10ae5a1)
[[MWPW-186708][Domain routing]Load error file from adobe.com on acrobat
subdomain
(](cb66072)
[[MWPW-185735]Load milo libs from adobe.com for acrobat.adobe.com domain
(](41dda45)
[[MWPW-182131] Automatic invalidating CDN cache
(](6856ff8)
[[MWPW-164353] Implementing dc-pdflite library to check file page count
(Phase
1)(](95fb9b4)
[[MWPW-164353] Updating pdflite libs path
(](f5b354f)

**Test URLs:**
Before:
https://main--cc--adobecom.aem.live/products/firefly?unitylibs=main
After:
https://main--cc--adobecom.aem.live/products/firefly?unitylibs=stage

Before:
https://stage--dc--adobecom.aem.page/acrobat/online/pdf-to-png?unitylibs=main
After:
https://stage--dc--adobecom.aem.page/acrobat/online/pdf-to-png?unitylibs=stage
@aem-code-sync
Copy link

aem-code-sync bot commented Feb 10, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

.split('||').map((s) => s.trim()).filter((s) => s);
let urls = [];
if (typeof item.variationUrls === 'string' && item.variationUrls.trim()) {
const parts = item.variationUrls.split(',https');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @vipu0303 , as discussed can we split making sure if there is a space before or after comma code handles that too. May be something like below
const parts = item.variationUrls.split(/\s*,\s*https/);

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to handle parsing of below string:
variationUrls: 'https://u1,https://u2, https://u3 , https://u4'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants