Url.Content() not working on complex URLs
问题 I have Url.Content() snippets everywhere in my views. They work fine on pages with a simple URL, but not when the URL gets longer. Here's a sample: <img src="@Url.Content("~/Content/Images/logo.png")" id="logo"> This works fine when I'm on the homepage, or a page with URL localhost:8080/s/chocolate (which shows the result for the "chocolate" search. But when I'm trying to add some refinements, e.g. localhost:8080/s/chocolate/b/lindt (which means filter the previous results to only ones from