how to prevent sharepoint from decoding a URL with %2F embedded

%3CLINGO-SUB%20id%3D%22lingo-sub-1002902%22%20slang%3D%22en-US%22%3Ehow%20to%20prevent%20sharepoint%20from%20decoding%20a%20URL%20with%20%252F%20embedded%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1002902%22%20slang%3D%22en-US%22%3E%3CP%3EI%20add%20a%20link%20like%20this%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fexample.com%2FSaba%2Fapp%2Fshared%3Bspf-url%3Dcommon%252Fledetail%252Fcours000000000054432%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fexample.com%2FSaba%2Fapp%2Fshared%3Bspf-url%3Dcommon%252Fledetail%252Fcours000000000054432%3C%2FA%3E%3C%2FP%3E%3CP%3EI%20publish%20it%2C%20and%20click%20it%2C%20works%20fine.%20(once)%3C%2FP%3E%3CP%3ETHEN%3C%2FP%3E%3CP%3EI%20reload%20the%20page%20and%20the%20URL%20has%20been%20changed%20to%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fexample.com%2FSaba%2Fapp%2Fshared%253bspf-url%3Dcommon%2Fledetail%2Fcours000000000054432%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fexample.com%2FSaba%2Fapp%2Fshared%253bspf-url%3Dcommon%2Fledetail%2Fcours000000000054432%3C%2FA%3E%3C%2FP%3E%3CP%3Ewhich%20will%20not%20work%20on%20the%20SABA%20site.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewebparts%20used%3A%20text%2C%20button%2C%20highlighted%20content%2C%20quick%20links...%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1002902%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

I add a link like this:

https://example.com/Saba/app/shared;spf-url=common%2Fledetail%2Fcours000000000054432

I publish it, and click it, works fine. (once)

THEN

I reload the page and the URL has been changed to: 

https://example.com/Saba/app/shared%3bspf-url=common/ledetail/cours000000000054432

which will not work on the SABA site. 

 

webparts used: text, button, highlighted content, quick links... 

0 Replies