bshaffer / oauth2-server-php

A library for implementing an OAuth2 Server in php
http://bshaffer.github.io/oauth2-server-php-docs
MIT License
3.26k stars 950 forks source link

Response.php: Fix GET param name in generated URL #1020

Open dotthis opened 2 years ago

dotthis commented 2 years ago

Updated the call to http_build_query to include $numeric_prefix = '', and $separator = '&' This minor change fixes the issue where the get parameters name becomes 'amp;keyname' in $_GET instead of 'keyname'