External links to internal pages with query string parameters no longer works

Vote:
 

In CMS7 I was able to enter links with query string parameters and/or bookmarks in URL properties that points to pages in our CMS. These links are converted to internal links by EPiServer after upgrading to CMS 7.13, and therefore the querystring parameters and bookmarks are stripped away.

Example on "http://mysite/":
In a Url property I'm creating an external link to http://mysite/?parameter=value
When saving this Url property EPiServer sees this as an internal link to my start page, and converts it on the fly, stripping away the query string parameters with it.

Is there a way to stop or change this behavior? I have several Url properties on my upgraded (from CMS7) site where editors have created "deep" links with bookmarks and others where query string parameters are used, so this is a seriously breaking change for us.

-- 
Regards,
Tarjei Olsen

#89788
Aug 26, 2014 10:24
Vote:
 

This bug should have been fixed. Are you experiencing this with the latest packages?

#89790
Aug 26, 2014 10:35
Vote:
 

Yes, as far as I can tell it’s the newest:

EPiServer.CMS.Core.7.13.1
EPiServer.CMS.UI.7.12.0
EPiServer.CMS.UI.Core.7.12.0
EPiServer.Framework.7.13.1

I originally got the error reported from our customer on CMS version 7.13, and upgraded today to 1.13.1. Still same problem.

#89791
Aug 26, 2014 10:49
Vote:
 

This should be supported but I found out that the fix I heard about was a related issue. I have created a bug repor to address this:

Bug #116931: It's not possible to add an external link pointing to a local content with additional query string parameter
#89793
Aug 26, 2014 11:58
Vote:
 

Is there a publicly visible URL where I can follow the liftecycle of this bug? The link you posted seems to point to some internal Team Foundation Server. I also tried to Find it (geddit?) on http://world.episerver.com/Support/Bug-list-beta/, but it isn't there yet.

Thanks for the quick replies – very much appreciated!

#89794
Aug 26, 2014 12:34
Vote:
 

Linus, does this include to be able to create links like this:
/routepath/ 

where the url is to a local route that is not a simple address for a page?

For example we this for our search-page where if you write

/sok/job

You search for all jobs and that is not a page, just routing

#89795
Aug 26, 2014 12:36
Vote:
 

@Tarjei: The bug will appear in the bug list on World once it's been triaged and made public by the dev team that's responsible for the area.

@Henrik: It's actually possible to do it today, but the format you enter needs to be absolute, for instance http://site.com/yourcustomroute. I have added another bug today to investigate if we can make it possible to enter relative links in the UI:

Bug #116910: Exception is thrown when adding a relative link

#89796
Aug 26, 2014 12:41
Vote:
 

Thanks Linus.
Relative is better when moving between test/producation/development.

#89797
Aug 26, 2014 12:42
tss
Vote:
 

It finally working with @Url.ContentUrl(Model.Link) and both with querystring and with hash (#) url's :-)

#113449
Edited, Nov 20, 2014 18:06
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.