[Suggestion] Query & Fragment URL access

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

[Suggestion] Query & Fragment URL access

Post 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:
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: [Suggestion] Query & Fragment URL access

Post by farfa »

+1 :thumbsup:
Also known as: satanasdiabolo
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: [Suggestion] Query & Fragment URL access

Post by magnetik »

+1

someone told me to
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
spaii
Posts: 1075
Joined: 19 Jun 2010, 00:04
Location: Rémy - France
Contact:

Re: [Suggestion] Query & Fragment URL access

Post by spaii »

+1 :thumbsup:
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests