Skip to content

Does not use the ToRootUrlString to ensure port numbers are correct #6

@I3undy

Description

@I3undy

rdobson created on Sep 3, 2014:
https://combinator.codeplex.com/workitem/65

I have created my own extension method that calls the built in Orchard method but instead returns a Uri of the following in UriExtensions.cs:

public static Uri ToBaseUri(this HttpRequestBase request) {
        return new Uri(request.ToRootUrlString());
    }

Then used this instead of Request.Url in:

  • Models/CombinatorResource.cs AbsoluteUrl
  • Services/CacheFileService.cs GetCombinedResources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions