This happened to be the reason for scripts/stylesheets not being included in the correct order sometimes. Char array passed might get corrupted when multiple string replacements were done in parallel, making the resulting string incorrect.
This method is most commonly used during shape name and alternate generation for resources, hence the issues.
Work Item: 19235
- adding missing space after each key name in the serialized file
- trimming whitespace from deserialized theme names
- code cleanup for readability
--HG--
branch : 1.x
Fixing empty alias (homepage) handling.
Setting up checks for existing aliases and displaying error information if a new/changed alias would overwrite existing one.
Properly trimming back and forward slashes from the beginning of the provided alias.
All custom aliases should have "Custom" source set.
Work Item: 19625
--HG--
branch : 1.x
Adding missing property implementations to LookupHttpRequest stub - this fixes problems with Owin.
Switching Select to Invoke when calling route methods to ignore erroneous custom routes.
Work Item: 19626
--HG--
branch : 1.x
Fixed a bug with incorrect property from which the extensionId is retrieved.
Fixed unit tests to check if session state is parsed correctly.
Work Item: 18793
--HG--
branch : 1.x
Added event handler filtering using Autofac's IIndex<K,V> and named registrations.
Replaced slow MethodInfo.Invoke with very fast, strongly-typed delegates. Each delegate is created at first usage and cached.
Updated unit tests to take changes into account.
Work Item: 19476
--HG--
branch : 1.x
Items with no permissions explicitly set should not undergo authorization checking.
Returning the same item instead of creating a copy
Folded part of Reduce method into LINQ query.
Work Item: 19477
--HG--
branch : 1.x