Skip to content

Commit

Permalink
UrlEncode WebEditor play URL
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwarren committed Sep 20, 2016
1 parent 9b2ae5a commit a5fa56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebEditor/WebEditor/Controllers/EditController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public JsonResult Load(int id, bool simpleMode)
return Json(new {
tree = editor.GetElementTreeForJson(),
editorstyle = editor.Style,
playurl = ConfigurationManager.AppSettings["PlayURL"] + "?id=editor/" + playFilename,
playurl = ConfigurationManager.AppSettings["PlayURL"] + "?id=editor/" + HttpUtility.UrlEncode(playFilename),
}, JsonRequestBehavior.AllowGet);
}

Expand Down

0 comments on commit a5fa56e

Please # to comment.