Skip to content

Commit

Permalink
fix(querystring): query string with special character * is now unescaped
Browse files Browse the repository at this point in the history
  • Loading branch information
trenoncourt committed Jan 18, 2018
1 parent 9d916ac commit 21c6a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoQueryable/Helpers/QueryableHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static dynamic GetAutoQuery<TEntity>(string queryString, Type entityType,
}

// Get criteria & clauses from choosen provider (AQ, OData, ...)
string[] queryStringParts = queryString.GetParts();
string[] queryStringParts = Uri.UnescapeDataString(queryString).GetParts();
ICriteriaProvider criteriaProvider = ProviderFactory.GetCriteriaProvider(profile?.ProviderType);
IList<Criteria> criterias = profile.IsClauseAllowed(ClauseType.Filter) ? criteriaProvider.GetCriterias(entityType, queryStringParts, profile).ToList() : null;
IClauseProvider clauseProvider = ProviderFactory.GetClauseProvider(profile?.ProviderType);
Expand Down

0 comments on commit 21c6a04

Please sign in to comment.