I don't know if that's a bug or not: If you use a querystring like ...
manialink?page=home
... the API throws an error 'Bad Request'.
Of course, the querystring is not part of a maniacode and you could use it later in your code, but it may be helpful for beginners, if the API would just remove every querystring from the requestes code and just return the data for the simple maniacode. (Instead of throwing an error)Fatal error: Uncaught exception 'TrackMania_Exception' with message 'Bad request' in [...]/trackmania-ws.php:519
Stack trace:
#0 [...]/trackmania-ws.php(355): TrackMania_WebServices->execute('GET', '/tmf/manialinks...', Array)
#1 [...]/trackmania-ws.php(44): TrackMania_WebServices->executeGET('/tmf/manialinks...', Array)
#2 [...]
#3 [...]
#4 [...]
#5 {main}
thrown in [...]/trackmania-ws.php on line 519
But I can understand other opinions, too ^__^ (Because with a querystring, it's not a "real" maniacode

destro
