Copied to clipboard

Flag this post as spam?

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


  • Mike Taylor 155 posts 353 karma points
    Oct 14, 2013 @ 13:50
    Mike Taylor
    0

    URL rewrite and Contour dependencies...

    Hi there

    I have a site that uses IIS URL Rewrite to move a querystring parameter (country) into the main URL - for example...

    http://www.mydomain.com/mypage?country=gb

    ...would become...

    http://www.mydomain.com/gb/mypage

     

    That's all fine, but when I place a Contour form on a page, it is applying that rewrite to the injected JS and CSS dependencies, for example, in the source code of the page:

    <script src="/gb/umbraco/plugins/umbracocontour/scripts/frontend/contourform.js"...
    <link rel="stylesheet" type="text/css" href="/gb/umbraco/plugins/umbracocontour/css/defaultform.css"...

     

    I can't figure out why it's putting the rewritten parameter into these source URLs...

    Any ideas how I can prevent this?

    Thanks,

    Mike

  • Comment author was deleted

    Oct 14, 2013 @ 13:59

    Hmm that's strange will see if I can reproduce

  • Mike Taylor 155 posts 353 karma points
    Oct 14, 2013 @ 15:58
    Mike Taylor
    0

    Thanks Tim, appreciate the help. If it helps, I'm currently using Umbraco 4.11.7 and Contour 3.0.1 - but there is a plan to upgrade both to latest versions. Let me know if you need me to send you over my web.config rewrite rules.

    Cheers,

    Mike

  • Comment author was deleted

    Oct 21, 2013 @ 10:05

    Been running courses last week so sorry for the delay, working on the contour support backlog today so will also handle this one

Please Sign in or register to post replies

Write your reply to:

Draft