Skip to content

Commit

Permalink
Merge pull request #4 from bigjonroberts/cleanup-from-conversion
Browse files Browse the repository at this point in the history
cleanup semicolons after initial conversion of functions.
  • Loading branch information
bigjonroberts committed Apr 26, 2016
2 parents 70d7983 + 1a23963 commit fe5c06c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/FlurlFs/Flurl.fs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module QueryParam =
let decodeQueryParamValue (value:string) =
// Uri.UnescapeDataString comes closest to doing it right, but famously stumbles on the + sign
// http://weblog.west-wind.com/posts/2009/Feb/05/Html-and-Uri-String-Encoding-without-SystemWeb
Uri.UnescapeDataString(value.Replace("+", " "));
Uri.UnescapeDataString(value.Replace("+", " "))

/// <summary>
/// Parses a query string from a URL to a QueryParamCollection dictionary.
Expand Down Expand Up @@ -61,8 +61,8 @@ module FSharp =
/// <returns></returns>
let private cleanSegment (segment:string) =
// http://stackoverflow.com/questions/4669692/valid-characters-for-directory-part-of-a-url-for-short-links
let unescaped = Uri.UnescapeDataString(segment);
Uri.EscapeUriString(unescaped).Replace("?", "%3F");
let unescaped = Uri.UnescapeDataString(segment)
Uri.EscapeUriString(unescaped).Replace("?", "%3F")


/// <summary>
Expand Down

0 comments on commit fe5c06c

Please sign in to comment.