Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Manual Merge of #105
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Chenery committed Sep 27, 2017
1 parent ca2242a commit 38962e8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion Models/UrlTrackerDomain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ public class UrlTrackerDomain
public int NodeId { get; set; }
public string Name { get; set; }

public Node Node { get { return new Node(NodeId); } }
private Node _node = null;
public Node Node
{
get
{
if (_node == null)
{
_node = new Node(NodeId);
}

return _node;
}
}
public string UrlWithDomain
{
get
Expand Down
2 changes: 1 addition & 1 deletion Modules/UrlTrackerModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ static void UrlTrackerDo(string callingEventName, bool ignoreHttpStatusCode = fa
string fullRawUrl;
string previousFullRawUrlTest;
string fullRawUrlTest;
fullRawUrl = previousFullRawUrlTest = fullRawUrlTest = string.Format("{0}{1}{2}{3}", request.Url.Scheme, Uri.SchemeDelimiter, request.Url.Host, request.RawUrl);
fullRawUrl = previousFullRawUrlTest = fullRawUrlTest = string.Format("{0}{1}{2}{3}", request.Url.Scheme, Uri.SchemeDelimiter, request.Url.Host, request.Url.AbsolutePath);

UrlTrackerDomain urlTrackerDomain;
do
Expand Down

0 comments on commit 38962e8

Please sign in to comment.