Good point. Interesting thing is that the code is based largely upon the "umbraco.SearchForAlias" NotFoundHandler class (which is used for the "umbracoUrlAlias" property) ... so this lower-case bug/issue appears in there too.
The data-type used for the "umbraco301MovedPermanently" property is a default/generic textstring - which I have no way of modifying from the NotFoundHandler code - so I can't modify the value of the data on saving.
However I will modify the XPath used in the NotFoundHandler to make use of the "translate()" function - this will make it case-insensitive - but would come with a slight performance hit (depending on the number of nodes in your "umbraco.config").
This will be in the next version... (whenever that may be ... let me know if you need this urgently - might be able to push it through sooner?)
Lower Case
For those of you trying to get thi working, this may be a handy tip....
I've discovered your entries in the umbraco301MovedPermanently property should be lower case.
Also: I guess a feature suggestion for Lee: make it convert input tolower automaticaly. :-)
Hi Murray,
Good point. Interesting thing is that the code is based largely upon the "umbraco.SearchForAlias" NotFoundHandler class (which is used for the "umbracoUrlAlias" property) ... so this lower-case bug/issue appears in there too.
The data-type used for the "umbraco301MovedPermanently" property is a default/generic textstring - which I have no way of modifying from the NotFoundHandler code - so I can't modify the value of the data on saving.
However I will modify the XPath used in the NotFoundHandler to make use of the "translate()" function - this will make it case-insensitive - but would come with a slight performance hit (depending on the number of nodes in your "umbraco.config").
This will be in the next version... (whenever that may be ... let me know if you need this urgently - might be able to push it through sooner?)
Cheers, Lee.
No, I'll just make sure I enter lower case for now, and put a note on the field for other admins :-)
is working on a reply...