Core.Strings - apply 2551076f571a to 6.1.0

This commit is contained in:
Stephan
2013-04-02 09:19:49 -02:00
parent 99a63a3cdb
commit c916df0d13
2 changed files with 3 additions and 3 deletions

View File

@@ -32,14 +32,14 @@ namespace Umbraco.Core.Strings
}
const string UmbracoValidAliasCharacters = "_-abcdefghijklmnopqrstuvwxyz1234567890";
const string UmbracoInvalidFirstCharacters = "01234567890";
const string UmbracoInvalidFirstCharacters = "0123456789";
#endregion
#region Short string services JavaScript
const string SssjsValidCharacters = "_-abcdefghijklmnopqrstuvwxyz1234567890";
const string SssjsInvalidFirstCharacters = "01234567890";
const string SssjsInvalidFirstCharacters = "0123456789";
private const string SssjsFormat = @"
var UMBRACO_FORCE_SAFE_ALIAS = {0};

View File

@@ -15,7 +15,7 @@ namespace umbraco.cms.helpers
public const string VALID_ALIAS_CHARACTERS = "_-abcdefghijklmnopqrstuvwxyz1234567890";
[Obsolete("Use Umbraco.Core.StringExtensions.UmbracoInvalidFirstCharacters instead")]
public const string INVALID_FIRST_CHARACTERS = "01234567890";
public const string INVALID_FIRST_CHARACTERS = "0123456789";
/// <summary>
/// A helper method to ensure that an Alias string doesn't contains any illegal characters