mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#18890: Handle empty content identity encoding
Work Item: 18890 --HG-- branch : 1.x
This commit is contained in:
@@ -47,6 +47,10 @@ namespace Orchard.ContentManagement {
|
||||
}
|
||||
|
||||
private static string EncodeIdentityValue(string identityValue) {
|
||||
if(String.IsNullOrEmpty(identityValue)) {
|
||||
return "";
|
||||
}
|
||||
|
||||
var stringBuilder = new StringBuilder();
|
||||
foreach (var ch in identityValue.ToCharArray()) {
|
||||
switch (ch) {
|
||||
|
Reference in New Issue
Block a user