I'm using the function get_permalink() to try and get the Current URL.
I've noticed it doesn't actually get the exact URL as shown in the address bar, for example if it is formatted like:
domain.com?s=one&two&three=0&four=
Is there a function to get the exact current URL?