diff --git a/netwerk/base/src/nsURLHelperWin.cpp b/netwerk/base/src/nsURLHelperWin.cpp index 747b6541e7a8..ef8d576bc9dd 100644 --- a/netwerk/base/src/nsURLHelperWin.cpp +++ b/netwerk/base/src/nsURLHelperWin.cpp @@ -91,7 +91,7 @@ nsresult net_GetFileFromURLSpec(const nsACString &aURL, nsIFile **result) { nsresult rv; - + nsCOMPtr localFile( do_CreateInstance(NS_LOCAL_FILE_CONTRACTID, &rv)); if (NS_FAILED(rv)) { @@ -99,6 +99,8 @@ net_GetFileFromURLSpec(const nsACString &aURL, nsIFile **result) return rv; } + localFile->SetFollowLinks(PR_TRUE); + const nsACString *specPtr; nsCAutoString buf;