locked
outbound rule doesn't rewrite urls in custom tag with colon RRS feed

  • Question

  • User1172468142 posted

    Hi,

     I cannot make working outbound rule for custom tags containing colon in their names, like <ie:menuitem>.

    I created pair "ie:menuitem" - "iconsrc" in the following custom tags collection:

                    <customTags>
                        <tags name="My tags collection">
                            <tag name="A" attribute="onclick" />
                            <tag name="option" attribute="value" />
                            <tag name="input" attribute="onkeydown" />
                            <tag name="iframe" attribute="filterlink" />
                            <tag name="table" attribute="webquerysourcehref" />
                            <tag name="span" attribute="iconsrc" />
                            <tag name="ie:menuitem" attribute="iconSrc" />
                        </tags>
                    </customTags>

    the following rule works for all other custom tags in collection but not for <ie:menuitem>:

    <rule name="Layouts outbound rewrite" enabled="true" patternSyntax="ECMAScript" stopProcessing="false" preCondition="HTML Only">
                        <match filterByTags="A, Area, Base, Form, Frame, Head, IFrame, Img, Input, Link, Script, CustomTags" customTags="My tags collection" pattern="(.*)(/_layouts)(.*)" ignoreCase="true" negate="false" />
                        <conditions logicalGrouping="MatchAll">
                            <add input="{URL}" pattern="^/(wss3|dynslbp)" />
                        </conditions>
                        <action type="Rewrite" value="{R:1}/{C:1}{R:2}{R:3}" />
                    </rule> 

    Am I missing something here?

    Thanks.

    Thursday, October 29, 2009 9:01 AM

Answers

  • User-1637866776 posted

    Thanks for reporting this. It looks like a bug in the outbound rewriting logic. We will look into fixing it in the upcoming release.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 30, 2009 1:39 PM

All replies

  • User-1637866776 posted

    Thanks for reporting this. It looks like a bug in the outbound rewriting logic. We will look into fixing it in the upcoming release.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 30, 2009 1:39 PM
  • User1172468142 posted

    Good to know :(. Thanks Ruslan.

    Monday, November 2, 2009 9:31 AM