flatten icon indicating copy to clipboard operation
flatten copied to clipboard

Kickstart duplicates query string

Open carlosvini opened this issue 9 years ago • 1 comments

Kickstart uses REQUEST_URI and QUERY_STRING to make its $key. The problem is that most servers i know already have the query string in REQUEST_URI, so the key gets a duplicated query string.

Line 130: https://github.com/Anahkiasen/flatten/blob/master/src/Flatten/Flatten.php#L130

You can replace it with something like parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)

carlosvini avatar May 11 '15 20:05 carlosvini

Will add a way to override the default saltshaker in kickstart

Anahkiasen avatar Sep 09 '15 21:09 Anahkiasen