Page 1 of 1

[Suggestion] Query & Fragment URL access

Posted: 02 Jul 2014, 09:26
by gouxim
Very hello,

It would be very cool to have access to the Query (as Text[Text] for instance) and Fragment (as Text) parts of the current URL !

Eg.

Code: Select all

// http://example.com?foo=bar&wow=such#very
log(Request.Query['foo']); // bar
log(Request.Query['wow']); // such
log(Request.Fragment); // very
A excelent implementation, for reference, can be found in the Symfony HTTP Foundation component in PHP:
http://symfony.com/doc/current/componen ... ml#request

:pop:

Re: [Suggestion] Query & Fragment URL access

Posted: 02 Jul 2014, 09:33
by farfa
+1 :thumbsup:

Re: [Suggestion] Query & Fragment URL access

Posted: 02 Jul 2014, 09:34
by magnetik
+1

someone told me to

Re: [Suggestion] Query & Fragment URL access

Posted: 02 Jul 2014, 13:19
by spaii
+1 :thumbsup: