Fixes issue #30422 The textbox was filled with the physical path (i.e /parent/file) to the file. It only needs the loggical path (i.e. parent/file)
This commit is contained in:
@@ -79,8 +79,9 @@ namespace umbraco.cms.presentation.developer
|
||||
// validate extension
|
||||
IOHelper.ValidateFileExtension(file, validScriptingExtensions());
|
||||
|
||||
// we need to move the full path and then the preceeding slash
|
||||
pythonFileName.Text = file.Replace(IOHelper.MapPath(SystemDirectories.MacroScripts), "").Substring(1);
|
||||
//// we need to move the full path and then the preceeding slash
|
||||
// The textbox only needs to show the requested file (and parentfolders)
|
||||
pythonFileName.Text = Request.QueryString["file"];
|
||||
|
||||
StreamReader SR;
|
||||
string S;
|
||||
|
||||
Reference in New Issue
Block a user