Skip to main content
2 events
when toggle format what by license comment
Dec 26, 2013 at 10:36 comment added Fabrício Matté Thanks. It'd be better to save the part prior to ?, this way it would handle other domains and pathnames. I'd also add a check to see if the URL contains a ? - it looks like this will fail when there's no query string. There is one more thing I didn't mention in the question, my URLs are already properly encoded so http_build_query would double-encode them: codepad.viper-7.com/3vYTm4
Dec 26, 2013 at 4:21 history answered MrLore CC BY-SA 3.0