Compartir a través de


when we click on the folder within the documents library ,you get an error as below

We will not able to click on the folder within the documents library ,you get an error as below

clip_image002

This happens When the SharePoint sites created based on Host Header mode (HH Mode) and published using ISA 2006.

The URL is getting redirected to http instead of https Which ISA is not able to translate

If we hover the mouse on the folder the URL looks as HTTPS as shown below

clip_image004

When we click on the folder we get an error as seen earlier

 

Explanation to the problem

We used IE developer tool to find what the root cause is and how it is getting http instead https.

As per configuration in ISA, wherever we find https://selva.soccer.com, it will be replaced as https://selva.soccer.com

Accordingly everything works fine, except Folders in document library.

These folders hyperlinks are fine, but the Onclick (java script)action for the folder has different url with http

href:https://one.moss.com/SelLibrary/Forms/AllItems.aspx?RootFolder=%2fSelLibrary%2fFolderOne&FolderCTID=&View=%7bC32A73C3%2dFE95%2d414A%2dAD7A%2d1935BDD7D2E5%7d

onclickjavascript:EnterFolder('http:\u002f\u002fone.moss.com\u002fSelLibrary\u002fForms\u002fAllItems.aspx?RootFolder=\u00252fSelLibrary\u00252fkumar\u0026FolderCTID=\u0026View=\u00257bC32A73C3\u00252dFE95\u00252d414A\u00252dAD7A\u00252d1935BDD7D2E5\u00257d');return

onfocus: OnLink(this)

The above onclick url is "'http:\u002f\u002fsitename.domain.com" it can be understandable by IE but not in ISA, so ISA is not replacing http header to https.

 

 

Solution:

=========

Go to the ISA Server – Firewall Policy

clip_image006

Select the policy and click on the property

clip_image007

Click on the link Translation Tab

clip_image009

Link translation -> Configure -> Add

Enter the Replace this text :

http:\u002f\u002fsitename.domain.com

eg. http:\u002f\u002fselva.soccer.com

With this Text:

https:\u002f\u002fsitename.domain.com

eg. https:\/\/selva.soccer.com

Ok -> apply the changes,

clip_image010

Click on Apply for the Firewall policy to take place

clip_image012

Now if we browse to the site and click on document library and click on the folder within the document library we will not get an error as before and you will be able to browse to the site.

clip_image014

Hope this helps you..

Comments

  • Anonymous
    January 01, 2003
    Nice work around. Works perfectly for me. Thanks for sharing this.

  • Anonymous
    November 13, 2010
    This is exactly what I was looking for. I've seen a lot of people post this question on various sites, but most people responding to the question tend to assume the person hadn't set up AAM properly or something so I had a hard time finding the right answer.  Thank you!

  • Anonymous
    July 11, 2014
    Awesome, thank you for posting this. Tried to look all over the internet for a solution but couldn't find anything at all until I randomly searched for u002f.....and it brought me here. I have a different issue but was very much related. HTTPS to HTTP bridging was there but was getting an error in debugging that "HTTPS security was compromised" and it would stop functioning. Same idea, once I created the translation rule to replace the http:u002f whatever with the external name of the site it all started working! Thanks!