Skip to content

Commit a0cc2b1

Browse files
authored
Fixed bug not downloading params from TemplatesParameterUri correctly. (#24232)
Small change in the TemplateUtility after the refactor to download the TemplateParameterUri file rather than treat the uri as a path to a local file.
1 parent d1a11a5 commit a0cc2b1

File tree

3 files changed

+72
-71
lines changed

3 files changed

+72
-71
lines changed

src/Resources/ResourceManager/Utilities/TemplateUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private static Hashtable GetTemplateParameterContentFromFile(string templatePara
158158
{
159159
if (Uri.IsWellFormedUriString(templateParameterFilePath, UriKind.Absolute))
160160
{
161-
templateParameterContent = new Hashtable(ParseTemplateParameterContent(templateParameterFilePath));
161+
templateParameterContent = new Hashtable(ParseTemplateParameterContent(GeneralUtilities.DownloadFile(templateParameterFilePath)));
162162
}
163163
else if (FileUtilities.DataStore.FileExists(templateParameterFilePath))
164164
{

0 commit comments

Comments
 (0)