Copied to clipboard

Flag this post as spam?

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


  • Evgeniy 1 post 71 karma points
    Dec 21, 2015 @ 03:54
    Evgeniy
    0

    toAscii mode of urlReplacing didn't work for names of files loaded into media

    Hi. I'm using 'toAscii' mode for all URL's in my site. This mode is setting up in the umbracoSettings.config, and the configuration is like this:

    <requestHandler>
        <urlReplacing removeDoubleDashes="true" toAscii="true">
            <char org="ь"></char>
            <char org="щ">shch</char>
            <char org="ц">ts</char>
        </urlReplacing>
    </requestHandler>
    

    In all content's URLs all is OK, but for names of files loaded into Media it works incorrect: Umbraco only replaces the chars described in "char org" rules, but ignores 'toAscii' attribute. So in the filenames we had the mix of ASCII and non-ASCII symbols.

    Any ideas, guys?

Please Sign in or register to post replies

Write your reply to:

Draft