Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Murray Roke 503 posts 966 karma points c-trib
    Apr 21, 2010 @ 04:58
    Murray Roke
    1

    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. :-)

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Apr 21, 2010 @ 11:22
    Lee Kelleher
    1

    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.

  • Murray Roke 503 posts 966 karma points c-trib
    Apr 22, 2010 @ 00:28
    Murray Roke
    0

    No, I'll just make sure I enter lower case for now, and put a note on the field for other admins :-)

Please Sign in or register to post replies

Write your reply to:

Draft