title: using an external url in a razor href
body: <p>Using Web Pages in WebMatrix, I want to send a user to a google map but I can't use the external url without getting an error of:</p>
  
  <p>"A potentially dangerous Request.Path value was detected from the client (:)."</p>
  
  <p>I set up a table of values and the address column would take the user to the google map.</p>
  
  <pre><code>&lt;tbody&gt;
      @foreach(var item in rowItems)
          {
              var addr = item.AddressDisplay;
              var url = "@http://maps.google.com/?q";
              //var addr = rawaddr.Replace(" ", "+");
              url = HttpUtility.UrlEncode(url + addr);
  
          &lt;tr&gt;
              &lt;td class="tableCallAlighLeft"&gt;@item.EventDate.ToString("MM/dd/yyyy")&lt;/td&gt;
              &lt;td class="tableCallAlighLeft"&gt;@item.EventType&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.TimeStart.ToString("hh:mm tt")&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.TimeEnd.ToString("hh:mm tt")&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.VenueName&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;&lt;a href="@url"&gt;@item.AddressDisplay&lt;/a&gt;&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.CostMin.ToString("C")&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.CostMax.ToString("C")&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.Family&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.MinAge&lt;/td&gt;
              &lt;td class="tableCellAlignLeft"&gt;@item.Adult&lt;/td&gt;
          &lt;/tr&gt;
          } 
  &lt;/tbody&gt;
  </code></pre>
  
  <p>How can I allow item.AddressDisplay to go to Google Maps?</p>
  
  <p>Thanks!</p>