applicake/doorkeeper — pull request #30 by GoldsteinTechPartners (2012-01-06 02:05:34+00:00)
Title: Feature/redirect uri 3 1 2

Made a couple of changes to support section 3.1.2 of the OAuth draft spec. Specifically:

i) Ensured that the application redirect_uri is an absolute URI
ii) Ensured that the application redirect_uri doesn't include a fragment
iii) Ensured that the application redirect_uri doesn't contain a query parameter, as a query parameter should not be included as it will be ignored during comparison
iv) Ensured that the comparison between the client application redirect_uri and the request's redirect_uri ignores query parameters
v) Ensured that the request redirect_uri is an absolute URI
vi) Ensured that the request redirect_uri doesn't include a fragment
vii) Ensured that query parameters are preserved through the authorization request process