Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
bombShelter() function / remote request
I upgraded a txp site from 4.04 which is serving a widget through widgetbox.com. Now the remote request is displaying the error:
“Nice try” Which I tracked down to the bombShelter() function in publish.php.
What is the purpose of this function and how can I get this remote request service working again?
Offline
#2 2008-12-19 21:33:37
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: bombShelter() function / remote request
Christian
It’s to stop really long GET requests. If you need longer GET requests, just increase the limit via the admin > preferences > advanced
tab. Scroll down the page and look for the Maximum URL length (in characters)
entry, increase it and save the page.
— Steve
Offline
Re: bombShelter() function / remote request
Thanks Steve, that worked.
Aloha
Offline
#4 2008-12-19 23:48:09
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: bombShelter() function / remote request
Christian
Here are some references as to the problems this mechanism is attempting to avoid (as far as I can tell)…
- http://classicasp.aspfaq.com/forms/what-is-the-limit-on-querystring/get/url-parameters.html
- http://www.g-loaded.eu/2008/10/24/maximum-url-length/
If you need to send a lot of data in the URL (as a GET request to the server), you should consider using POST requests instead.
— Steve
Offline