Copied to clipboard

Flag this post as spam?

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


  • Stefan Kip 1606 posts 4098 karma points c-trib
    Oct 19, 2009 @ 15:31
    Stefan Kip
    0

    FormRewriterControlAdapter and IIS Url Rewriting

    Hey people,

    I am using umbraco with directoryUrls, but also with the IIS UrlRewrite module.
    So I have a page which displays a members' profile, which url looks like /members/1234/John/Doe (configured in the IIS UrlRewrite module).

    I wanted the form action to be this URL, instead of something like /members?id=1234, but when I tried to set the action of the form, I noticed it gets overwrited via the FormRewriterControlAdapter of umbraco.

    The code looks inside the VirtualUrl items and then builds the action, but why not just use "Form.Action = Request.RawUrl;"?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies