mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Properly encode ampersands in the RPC usage output
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
4c9da512af
commit
21827dfb1c
1 changed files with 2 additions and 2 deletions
|
@ -26,14 +26,14 @@ The methods currently allowed are: <br />
|
||||||
<li>msearch</li>
|
<li>msearch</li>
|
||||||
</ul> <br />
|
</ul> <br />
|
||||||
Each method requires the following HTTP GET syntax: <br />
|
Each method requires the following HTTP GET syntax: <br />
|
||||||
type=<i>methodname</i>&arg=<i>data</i>
|
type=<i>methodname</i>&arg=<i>data</i>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
Where <i>methodname</i> is the name of an allowed method, and <i>data</i> is the argument to the call.
|
Where <i>methodname</i> is the name of an allowed method, and <i>data</i> is the argument to the call.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
If you need jsonp type callback specification, you can provide an additional variable <i>callback</i>.
|
If you need jsonp type callback specification, you can provide an additional variable <i>callback</i>.
|
||||||
<br />
|
<br />
|
||||||
Example URL: <br />
|
Example URL: <br />
|
||||||
http://aur-url/rpc.php?type=search&arg=foobar&callback=jsonp1192244621103
|
http://aur-url/rpc.php?type=search&arg=foobar&callback=jsonp1192244621103
|
||||||
</body></html>
|
</body></html>
|
||||||
<?php
|
<?php
|
||||||
// close if statement
|
// close if statement
|
||||||
|
|
Loading…
Add table
Reference in a new issue