Let the get parameters in the path

If the path contains some GET-parameters, your library just truncates them. Here is the fix.