Displaying 20 results from an estimated 124 matches for "urlencode".
2015 Jan 11
0
Bug in URLencode and patch
I believe the implementation of utils::URLencode is non-compliant with
RFC 3986, which it claims to implement
(http://tools.ietf.org/html/rfc3986). Specifically, its percent
encoding uses lowercase letters a-f, which it should use uppercase
letters A-F.
Here's what URLencode currently produces:
library("utils")
URLencode("*+,...
2007 Oct 23
4
Weird application/x-www-form-urlencoded bug
Hello,
I experienced a weird bug today, while implementing an AtomPub server.
I pasted all the story and bug details here : http://p.caboo.se/110125
It maybe be related to http://code.whytheluckystiff.net/camping/ticket/142 ...
I am using
- mongrel 1.0.1
- camping 1.5
Cheers,
--
Simon Rozet <simon at rozet.name>
2006 Aug 08
0
Properly encoding a string as application/x-www-form-urlencoded for post
Hi, can anyone tell me how use the post method for testing to post an
xml string as the body to the post. The documentation reads:
Performs a POST request with the given parameters. The parameters may
be nil, a Hash, or a string that is appropriately encoded
(application/x-www-form-urlencoded or multipart/form-data).
How do I appropriately encode the string for the post?
I need something like:
post :method, "<xml></xml>"
Thanks,
Carl.
2007 Nov 12
0
2 commits - libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_resource.c test/various
...---
libswfdec/swfdec_loader_internal.h | 4 -
libswfdec/swfdec_movie.c | 46 ---------------
libswfdec/swfdec_movie.h | 2
libswfdec/swfdec_resource.c | 4 -
test/various/.gitignore | 1
test/various/Makefile.am | 6 -
test/various/urlencode.c | 112 -------------------------------------
8 files changed, 3 insertions(+), 278 deletions(-)
New commits:
commit 36f1f37d85c222b44e57b565e4c216df6e2ae8f1
Author: Benjamin Otte <otte at gnome.org>
Date: Mon Nov 12 20:56:16 2007 +0100
remove just deleted test from build...
2007 Feb 17
0
8 commits - configure.ac doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h
...| 2 -
libswfdec/swfdec_script.c | 23 ++++++++++++++-
libswfdec/swfdec_scriptable.c | 56 +++++++++++++++++++++++++++++++++++++
libswfdec/swfdec_scriptable.h | 3 +
player/swfdebug.c | 4 +-
player/swfplay.c | 4 +-
test/various/urlencode.c | 5 ++-
13 files changed, 135 insertions(+), 13 deletions(-)
New commits:
diff-tree 86ceb1bdea1ecee5bff104a29c07351bf78454c1 (from b34773aabe26a4fecb2e4293722a7c11fb81f870)
Author: Benjamin Otte <otte@gnome.org>
Date: Sat Feb 17 13:32:41 2007 +0100
apparently / doesn...
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks,
There''s a nasty little bug in 0.3.13.3 when running in development mode
which could cause all sorts of problems.
Please grab the pre-release of 0.3.13.4 and tell me if it works for you:
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
Thanks!
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.railsmachine.com/ -- Need
2008 Apr 01
3
HTML entities in URLs and urlencoding
...mp;param2=value1">Link</a>
>
> Currently outputs:
> <a href="http://www.site.com/?param1=value1&param2=value1">Link</a>
>
> So the "&" must not be escaped!
A fix is easy, but it occurred to me that perhaps links should be
urlencoded -- at least some chars should be. Specifically the "unsafe"
chars listed in RFC 1738 [1]. The "reserved" chars probably should too
when not used in their approved manner (i.e.: A colon should only be
allowed after the scheme (http://) or in the location
(usr:pass at host:port)...
2007 Oct 26
2
Post problems
...'continuation of non-http
traffic'' packet. The obvious difference is that the firefox
continuation packet has some http metadata (I don''t know the proper
terminology) where the mechanise packet has none.
The firefox continuation packet:
Content-Type: application/x-www-form-urlencoded\r\n
Content-Length: 46
\r\n
Wireshark then interprets what follows as ''Line-based text data:
application/x-www-form-urlencoded", and this is the post data
(field1=x&field2=y)
The mechanize continuation packet does not contain this extra
metadata, it merely contains the post...
2007 Nov 10
0
[PATCH] swfdec: better variable parsing.
...the flash at the upper right
corner of http://www.kanal5.se and the presentation of houses for
sale at http://www.svenskfast.se.
Solution: use swfdec_as_object_decode and kill off swfdec_movie_set_variables,
swfdec_urldecode_one_string, swfdec_urldecode_one and the flawed testcase in
test/various/urlencode.c.
---
Since the segfault where just fixed in git, I've now tested this patch which
works perfectly as far as I can see.
diffstat:
b/libswfdec/swfdec_loader.c | 106 ---------------------------------
b/libswfdec/swfdec_loader_internal.h | 4 -
b/libswfdec/swfdec_movie.c...
2007 Sep 28
9
PUT (and friends) bug?
...ell, sending an actual HTTP PUT request to a Camping
app will never parse the params out of the request body - or am I
going nuts? This code seems to say only POST''s will parse the request
body:
elsif @method == "post" and \
e.CONTENT_TYPE == "application/x-www-form-urlencoded"
q.u(C.qsp(@in.read))
end
I looked for an easy spot to stick a test case, but didn''t come up
with one... can anyone else confirm that this is an issue?
--
Nathaniel Talbott
<:((><
2006 Aug 19
3
memcache-client working for anyone?
...writing wrapper libraries around this? No
mention on any blogs...help would be greatly appreciated
My setup from environment.rb initialize:
CACHE = MemCache.new :c_threshold => 10_000,:compression =>
true,:debug => false,:namespace => ''foo'',:readonly => false,:urlencode
=> false
CACHE.servers = ''localhost:11211''
config.action_controller.session_store = :mem_cache_store
config.action_controller.fragment_cache_store = CACHE, {}
Incidentally, the session store works with memcache-client, but the
fragment cache craps out. I''ve t...
2007 May 30
0
Headers munged into RAW_POST_DATA
...Transport \r\nMedical Transportation Vans\r
\nMedical Transport Vans\r\nMedical Patient Transportation \r\nMedical
Patient Transport"}, "cid"=>"7"}
* Rails root: /prod/amp/current
* CONTENT_LENGTH : 582
* CONTENT_TYPE : application/x-www-form-urlencoded
* GATEWAY_INTERFACE : CGI/1.2
* HTTP_ACCEPT : text/xml,application/xml,application/
xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
* HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7
* HTTP_ACCEPT_ENCODING : gzip,deflate
* HTTP_ACCEPT_LANGUAGE...
2007 May 29
1
Headers munged into RAW_POST_DATA
...port \r\nMedical Transportation Vans\r
\nMedical Transport Vans\r\nMedical Patient Transportation \r
\nMedical Patient Transport"}, "cid"=>"7"}
* Rails root: /prod/amp/current
* CONTENT_LENGTH : 582
* CONTENT_TYPE : application/x-www-form-urlencoded
* GATEWAY_INTERFACE : CGI/1.2
* HTTP_ACCEPT : text/xml,application/xml,application/
xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
* HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7
* HTTP_ACCEPT_ENCODING : gzip,deflate
* HTTP_ACCEPT_LAN...
2007 Feb 15
0
8 commits - libswfdec/swfdec_bits.h libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_tag.c libswfdec/swfdec_text.c libswfdec/swfdec_text.h test/swfedit_token.c test/various
...------------------
libswfdec/swfdec_text.c | 12 +
libswfdec/swfdec_text.h | 2
test/swfedit_token.c | 5
test/various/.gitignore | 1
test/various/Makefile.am | 6
test/various/ringbuffer.c | 19 ++
test/various/urlencode.c | 109 +++++++++++++
13 files changed, 598 insertions(+), 174 deletions(-)
New commits:
diff-tree 5a3b6dc3f4091163b071a50172bfb21de3aa31fd (from 42c7ba48f3741051f0c5dcab9590a3db0c7b23c7)
Author: Benjamin Otte <otte@gnome.org>
Date: Thu Feb 15 17:25:03 2007 +0100
Add testi...
2009 Nov 19
1
problem post request with RCurl
...save the XML string to a file called query.xml and
then do
curl -d @query.xml "http://pubchem.ncbi.nlm.nih.gov/pug/pug.cgi"
I get the expected response. More importantly, the verbose option shows:
> Accept: */*
> Content-Length: 1227
> Content-Type: application/x-www-form-urlencoded
However, when I try to do this via RCurl, the data doesn't seem to get
sent:
q <- "<PCT-Data> <PCT-Data_input> <PCT-InputData> <PCT-
InputData_query> <PCT-Query> <PCT-
Query_type> <PCT-QueryType>...
2009 Jul 24
6
Routes from raw js (using XMLHttpRequest)
...formid)
}
function makePOSTRequest(url, parameters, formid){
req3 = new XMLHttpRequest();
if (req3) {
req3.onreadystatechange = alertContents(formid);
req3.open(''POST'', url, true);
req3.setRequestHeader("Content-type", "application/x-www-form-
urlencoded");
req3.setRequestHeader("Content-length", parameters.length);
req3.setRequestHeader("Connection", "close");
req3.send(parameters);
}
}
function alertContents(formid) {
if (req3.readyState == 4) {
if (req3.status == 200) {...
2011 Jul 06
1
Compiling on Mac OS X
...rflow=1 -fvisibility=hidden -Werror -I/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/include -g -O2 -o omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o cdb_find.o cdb_hash.o cdb_unpack.o loadfile.o utf8convert.o datematchdecider.o weight.o str.o unixperm.o urlencode.o /Users/samuel/Documents/Programming/Internet/xapian/xapian-core/libxapian.la libtransform.la -liconv
libtool: link: g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Wstrict-null-sentinel -Wstrict-overflow...
2004 Aug 24
1
error when unsubscribe (PR#7198)
...; (R1
1.3))
nokeepalive 1
GATEWAY_INTERFACE CGI/1.1
SSL_PROTOCOL SSLv3
REMOTE_PORT 39557
HTTP_ACCEPT_LANGUAGE en-gb, en-gb
HTTP_ACCEPT_ENCODING gzip, deflate, gzip, deflate
ssl_unclean_shutdown 1
SSL_SERVER_V_END Jan 6 12:56:05 2014 GMT
CONTENT_TYPE application/x-www-form-urlencoded,
application/x-www-form-urlencoded
SSL_SERVER_I_DN_CN ISG D-MATH
QUERY_STRING
SSL_CIPHER_USEKEYSIZE 128
downgrade_1_0 1
UNIQUE_ID pOtOOYGElIIAAAlOUt0AAAAD
2013 Oct 07
17
Sync data between various PuppetDB instances
Dear all,
We have a few reasons to have various PuppetDBs (and Masters, one per
cluster) in our datacenter and, eventually, there may be a need to share
*only* a few exported resources between clusters, like a few ssh-keys or
nagios tests.
Is there a mechanism to pull and push some exported resources from one
PuppetDB to another? I guess this could be done with the API, but has
anybody tried it,
2006 Jan 30
4
How to encode URLs?
How does one encode URLs in ROR?
Thanks
Frank
---------------------------------
Bring words and photos together (easily) with
PhotoMail - it''s free and works with Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/60280869/attachment.html