Appends a mssing closing brace "}" if a path starts with a brace "{".
The path ending with a closing brace "}".
This function is usually called to ensure that a GUID ends with a closing brace "}". This can occur if a web page is opened from Outlook by a pasted link as Outlook does not automatically include the ending brace "}".
string path = StringUtil.GetString(Request.QueryString["path"]); string id = MainUtil.AppendMissingIDBrace(path);
MainUtil Class | Sitecore Namespace