+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Duplicate query param in Generic Control

Duplicate query param in Generic Control

2 posts, 0 answered
  1. Steve
    Steve avatar
    1 posts
    Registered:
    17 Jun 2011
    17 Jun 2011
    Link to this post
    I am using the generic content control in Sitefinity 3.7.2136.2 and am experiencing query strings being duplicated on links.  To duplicate the problem, open up a generic content control and paste the following into the editor in HTML mode:

    <a href="/mywebsite/testpage.aspx?q1=y" sfref="~/mywebsite/testpage?q1=y">My test page</a>

    Click "I'm Done" to save.

    Edit the generic content control again.  Switch to HTML mode.  Notice that my query param has been duplicated:

    <a href="/SecurePortals/mywebsite/testpage?q1=y?q1=y" sfref="~/mywebsite/testpage?q1=y?q1=y">My test page</a>

    I seen a previous post that had a fix to the LinksEditorDialog.asxc file in Sitefinity.  However, I am not using the Link editor and applying the fix to it doesn't resolve the problem when in HTML mode.

    A resolution to this problem would be of great help.  My only work-around is to create my own user control.

    Thanks,
    Steve
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Jun 2011
    Link to this post
    Hi Steve,

    The issue with the duplicate query string has been fixed in an internal build. You may open a support request and I will send you the custom build.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered