search for: urlencoded

Displaying 20 results from an estimated 124 matches for "urlencoded".

Did you mean: 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("*+,;=:/?", reserved = TRUE) #
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
...' + 10; - } else { - g_string_free (ret, TRUE); - *out = s; - return NULL; - } - g_assert (byte < 256); - g_string_append_c (ret, byte); - } else { - break; - } - s++; - } - *out = s; - return g_string_free (ret, FALSE); -} - /** * swfdec_string_append_urlencoded: * @str: a #GString @@ -679,61 +631,3 @@ swfdec_string_append_urlencoded (GString *str, const char *name, const char *val swfdec_urlencode_append_string (str, value); } -/** - * swfdec_urldecode_one: - * @string: string in 'application/x-www-form-urlencoded' form - * @name: pointe...
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
...fdec_scriptable, G_TYPE_OBJECT) @@ -154,3 +155,58 @@ swfdec_scriptable_from_jsval (JSContext return NULL; return JS_GetPrivate (cx, object); } + +/** + * swfdec_scriptable_set_variables: + * @script: a #SwfdecScriptable + * @variables: variables to set on @script in application-x-www-form-urlencoded + * format + * + * Verifies @variables to be encoded correctly and sets them as string + * properties on the JSObject of @script. + **/ +void +swfdec_scriptable_set_variables (SwfdecScriptable *script, const char *variables) +{ + JSObject *object; + + g_return_if_fail (SWFDEC_IS_SC...
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&amp;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) b...
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 d...
2007 Nov 10
0
[PATCH] swfdec: better variable parsing.
...' + 10; - } else { - g_string_free (ret, TRUE); - *out = s; - return NULL; - } - g_assert (byte < 256); - g_string_append_c (ret, byte); - } else { - break; - } - s++; - } - *out = s; - return g_string_free (ret, FALSE); -} - /** * swfdec_string_append_urlencoded: * @str: a #GString @@ -673,61 +625,3 @@ swfdec_string_append_urlencoded (GString *str, const char *name, const char *val swfdec_urlencode_append_string (str, value); } -/** - * swfdec_urldecode_one: - * @string: string in 'application/x-www-form-urlencoded' form - * @name: pointe...
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?
I''m at the bloody forehead stage, so I figure it''s time to ask. After installing the robot coop''s memcache-client which everyone apparently recommends, it refuses to work because the rails cache.rb is invoking the read() method on the cache, which it _does not have_. Their library has get() and put() but no read() and write() as rails expects. What gives? Is
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_LANG...
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
...g_printerr (__VA_ARGS__); \ + g_printerr ("\n"); \ + errors++; \ +}G_STMT_END + +static guint +run_test_encode (Test *test) +{ + GString *string; + guint i, errors = 0; + + string = g_string_new (""); + for (i = 0; i < test->n_props; i++) { + swfdec_string_append_urlencoded (string, test->names[i], test->values[i]); + } + if (!g_str_equal (test->encoded, string->str)) { + ERROR ("encoded string is \"%s\", but should be \"%s\"", string->str, test->encoded); + } + g_string_free (string, TRUE); + return errors; +} +...
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
Hi, I'm having some problems compiling on Mac OS X: nekomimi:xapian samuel$ sudo port install libiconv ---> Configuring gperf ---> Building gperf ---> Staging gperf into destroot ---> Installing gperf @3.0.4_0+universal ---> Deactivating gperf @3.0.4_0 ---> Cleaning gperf ---> Activating gperf @3.0.4_0+universal ---> Cleaning gperf ---> Computing
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