Issue with SPO Calendar adding "u002f" to URL

%3CLINGO-SUB%20id%3D%22lingo-sub-1457465%22%20slang%3D%22en-US%22%3EIssue%20with%20SPO%20Calendar%20adding%20%22u002f%22%20to%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1457465%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Tech%20Community!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20for%20some%20assistance%20fixing%20a%20weird%20issue%20that%20popped%20up.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAbout%20a%20month%20ago%2C%20I%20created%20a%20new%20Calendar%20in%20a%20SPO%20Site%20that%20has%20a%20Calendar%20Overlay%20features%20added%20to%20it.%20There%20are%20also%20several%20other%20Standard%20views%20that%20were%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20issue%20that%20just%20started%20this%20week%20is%20that%20when%20picking%20a%20view%20from%20the%20Manage%20Views%20section%20in%20the%20ribbon%2C%20is%20that%20the%20JS%20link%20adds%20these%20extra%20characters%20%22u002f%22%20before%20the%20site%20name%2C%20list%20name%20and%20view%20name%2C%20which%20of%20course%20does%20not%20work%3A%20%22%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2F%5Btenant%5D%2Fu002fsites%2Fu002f%5BSiteName%5D%2Fu002fLists%2Fu002fe%5BListName%5D%2Fu002fAllItems.aspx%2C%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F%5Btenant%5D%2Fu002fsites%2Fu002f%5BSiteName%5D%2Fu002fLists%2Fu002fe%5BListName%5D%2Fu002fAllItems.aspx%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20manually%20go%20the%20working%20view%2C%20the%20link%20would%20be%20as%20follows%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2F%5Btenant%5D%2Fsites%2F%5BSiteName%5D%2FLists%2F%5BListName%5D%2FAllItems.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F%5Btenant%5D%2Fsites%2F%5BSiteName%5D%2FLists%2F%5BListName%5D%2FAllItems.aspx%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tried%20other%20sites%20in%20our%20tenant%20with%20similar%20functionality%2C%20and%20am%20not%20having%20the%20same%20issue.%20If%20I%20select%20a%20view%20from%20the%20All%20Items%20view%2C%20where%20it's%20not%20listed%20in%20the%20ribbon%2C%20the%20links%20there%20works%20fine%2C%20so%20it%20just%20seems%20the%20issue%20is%20in%20the%20JS%20link%20in%20the%20ribbon.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%20of%20how%20to%20get%20this%20fixed%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3CP%3EMerrilea%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1457465%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1459481%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20SPO%20Calendar%20adding%20%22u002f%22%20to%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1459481%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20too%20have%20just%20encountered%20the%20same%20issue.%20We%20recently%20migrated%20from%20on-prem%20solution.%20However%2C%20it%20goes%20a%20bit%20further%20than%20just%20views%20within%20calendars.%20When%20we%20go%20to%20add%20a%20group%20and%20select%20the%20button%20%22new%22%20we%20get%20the%20error.%20However%2C%20when%20using%20the%20drop-down%20and%20selecting%20new%20group%20it%20works%20just%20fine.%3C%2FP%3E%3CP%3EThe%20same%20is%20true%20for%20lists%20that%20are%20viewed%20in%20classic%20mode.%20Using%20the%20%22...%22%20to%20get%20to%20views%20works%20fine%20but%20using%20the%20list%20tab%20and%20current%20view%20drop-down%20we%20see%20the%20same%20encoding%20error.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1459556%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20SPO%20Calendar%20adding%20%22u002f%22%20to%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1459556%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F314447%22%20target%3D%22_blank%22%3E%40primerrilea%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20issue%20here--we%20migrated%20a%20calendar%20from%20on-prem%20and%20the%20view%20selector%20in%20the%20ribbon%20adds%20u0002f%20to%20every%20section%20of%20the%20link%20so%20we%20get%20page%20not%20found.%26nbsp%3B%20I%20did%20some%20google-fu%20and%20can't%20find%20anything%20other%20than%20this%20thread.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1459560%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20SPO%20Calendar%20adding%20%22u002f%22%20to%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1459560%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F314447%22%20target%3D%22_blank%22%3E%40primerrilea%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20looks%20like%20u002f%20is%20the%20unicode%20string%20for%20a%20slash.%26nbsp%3B%20I%20guess%20something%20got%20messed%20up%20in%20the%20migration%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1472519%22%20slang%3D%22en-US%22%3ERe%3A%20Issue%20with%20SPO%20Calendar%20adding%20%22u002f%22%20to%20URL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1472519%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F105006%22%20target%3D%22_blank%22%3E%40Adam%20Carter%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20reply!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20didn't%20perform%20an%20actual%20migration.%20I%20created%20a%20new%20Calendar%20from%20within%20the%20SharePoint%20Online%20Team%20site%2C%20and%20then%20exported%20the%20data%20from%20the%20on-premises%20Calendar%20to%20Excel%20and%20then%20copied%20it%20over%20to%20the%20new%20list.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hello Tech Community!

 

I'm looking for some assistance fixing a weird issue that popped up.

 

About a month ago, I created a new Calendar in a SPO Site that has a Calendar Overlay features added to it. There are also several other Standard views that were created.

 

The issue that just started this week is that when picking a view from the Manage Views section in the ribbon, is that the JS link adds these extra characters "u002f" before the site name, list name and view name, which of course does not work: "https://[tenant]/u002fsites/u002f[SiteName]/u002fLists/u002fe[ListName]/u002fAllItems.aspx

 

If I manually go the working view, the link would be as follows:

https://[tenant]/sites/[SiteName]/Lists/[ListName]/AllItems.aspx

 

I've tried other sites in our tenant with similar functionality, and am not having the same issue. If I select a view from the All Items view, where it's not listed in the ribbon, the links there works fine, so it just seems the issue is in the JS link in the ribbon.

 

Any ideas of how to get this fixed?

 

Thank you!

Merrilea

5 Replies
Highlighted

We too have just encountered the same issue. We recently migrated from on-prem solution. However, it goes a bit further than just views within calendars. When we go to add a group and select the button "new" we get the error. However, when using the drop-down and selecting new group it works just fine.

The same is true for lists that are viewed in classic mode. Using the "..." to get to views works fine but using the list tab and current view drop-down we see the same encoding error.

Highlighted

@primerrilea 

 

Same issue here--we migrated a calendar from on-prem and the view selector in the ribbon adds u0002f to every section of the link so we get page not found.  I did some google-fu and can't find anything other than this thread.

Highlighted

@primerrilea 

 

It looks like u002f is the unicode string for a slash.  I guess something got messed up in the migration?

Highlighted

@Adam Carter Thanks for the reply!

 

We didn't perform an actual migration. I created a new Calendar from within the SharePoint Online Team site, and then exported the data from the on-premises Calendar to Excel and then copied it over to the new list. 

Highlighted

@primerrileaI've got the same problem
Moreover, it replaces "$" symbol with "\u0026"
Solved it with custom scripting:
var newurl = oldurl.replace(/u002f/g, "").replace(/\\/g, "/").replace(/\/u0026/g, "&");