Highlighted

Issue with Experience Fragment url when opening from Success dialog

Avatar

Avatar

Ravi_Pampana

MVP

Avatar

Ravi_Pampana

MVP

Ravi_Pampana
MVP

08-09-2020

Hi,

 

After creating experience fragment, clicking on Open from the success dialog, url is getting encoded and throwing page not found issue when accessing from dispatcher. Url is encoding from / to %2F when trying in local instance.

 

Fix:

Go to below node and override to /apps:

http://<host>:<port>/libs/cq/experience-fragments/content/v2/experience-fragments/createxfwizard/jcr:content/body/items/form/successresponse

 

Property: Open

Before value: /editor.html{Path}.html

New value to fix issue:  /editor.html{+Path}.html (add + before Path)

 

Screen Shot 2020-09-08 at 8.00.17 PM.png

@kautuk_sahni , If possible can you please ask product team to review the change and update the code.

 

XF Url Issue

Replies

Highlighted

Avatar

Avatar

Vaibhavi

MVP

Avatar

Vaibhavi

MVP

Vaibhavi
MVP

08-09-2020

Hi @Ravi_Pampana , 

Good one. Thank you for posting.

I remember one of my peer was facing same issue recently. 

Would like to understand how + is stopping from url encoding? Is it something we are trying to replace 'space' with '+'  ??? Kindly explain 

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

09-09-2020

Thank you for sharing this. I'll share it with the team and get back to you soon. 

 

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
kautuk_sahni
Community Manager

11-09-2020

@Ravi_Pampana , Reply from PM:

Maybe a bug? I think I’ve seen this. Please contact and report to support.