similar to: URL-encoding and decoding on Rails

Displaying 20 results from an estimated 20000 matches similar to: "URL-encoding and decoding on Rails"

2006 May 30
1
Url encoding Help Pls!
Hi guys, it''s me again, I want to come up with the following url: www.mysite.com/webpage?myid=1 I keep coming up with the following url: www.mysite.com/webpage%3Fmyid%3D1 require ''uri'' $myurl = URI.escape("webpage?myid=") redirect_to(:action => $myurl + 1 ) what am I doing wrong? I also tried require ''cgi'' $myurl =
2009 Feb 04
1
Deferred emails on alias emails
Hi, I am currently making a fresh install of email server. I am having some issue with dovecot-antispam (cf. other emails), and noticed that I was having issues on aliases, which apparently where not forwarded to the actual SMTP server after passing through dspam. Still don't figure why but temporarily disable the dspam filter, which anyway is not useful in the current state of this
2012 Jan 23
2
Rails 3.2: invalid %-encoding (100%)
I started getting exception notifications recently from the server just about the time I upgraded to Rails 3.2. I don''t know if that is a coincidence or not. Evidently some robot is hitting my site with: mydomain.com?iframe=true&width=100%&height=100% and that is throwing an exception. I have two questions: 1) First, just out of curiosity, who puts
2006 May 31
1
url parameter :id with slash (/) failed to route
Hi there, My routes.rb is something like map.connect '':controller/:action/:id'' However, when a url request likes http://xxx/user/category/a/b My intension is to call :controller => ''user'' :action => ''category'' :id => ''a/b'' However, :id has slash in it (a/b) will make rails fail to route. (apache fail, webrick
2006 Apr 20
1
URL encode & decode
I have a link: <%= link_to ''delete'', :action => ''destroy'', :id => u(string_id) %> Helper method ''u()'' can encode a string to URL encoding, but I don''t know which method can decode it? I want to used in controller. I have not seen it in Rails''s document. Thanks, - Li Jie
2007 May 18
1
URL Fragment Anchors -- may be a Safari Question
Hi, I''m a new beginner so, please forgive if I am somewhat imprecise... I''m wanting to use fragment anchors in my pages. (I think that is the right term for them). So my URL will be something like pmrs/1#id56. I am using REST and resource style mapping. My first question is will this work o.k.? I''ve tested it a tiny bit and it seems o.k. but I''m worried
2006 Jun 27
3
Decoding Unicode URLs Properly
Please help, I have an application I switched over to UTF-8, but I am unable to decode URLs with unicode characters in them properly. For instance, if I have "item=Pur%E9ed" as a parameter in my url, when it''s decoded by rails, it returns "Pur?ed" and not "Pur?ed". Is there an easy way to fix my controller to accept these characters properly?
2006 Dec 30
0
Change I needed to make in to_absolute_uri for unescaped URL separator characters
Mechanize is great! It''s better than anything I was expecting to be out there, and the syntax is really nice. I had a bit of a problem though -- following URLs with commas. The code in to_absolute_uri works great for spaces, but some pages I was working on had URLs with unescaped commas that URI rejected when I tried to click() on them. So I changed the first statement in
2006 Feb 27
1
decode URL
Hi, I have a URL with encoded characters, I want them to be decoded. Is this possible in the routes.rb? e.g. decoding the @params[category] map.connect ''performances/:category'', :controller => ''performance'', :action => ''list_performances'' regards, J?rg
2006 Dec 19
1
Re: CentOS Digest, Vol 23, Issue 18
hi I am new at CentOS.I am not able to install webmin at Centos.if there is no problem at webmin installing at Cent .where I will get the webmin rpm for Cent. Thanks shahriar Quoting centos-request at centos.org: > Send CentOS mailing list submissions to > centos at centos.org > > To subscribe or unsubscribe via the World Wide Web, visit >
2008 May 22
0
Speex realtime encoding/decoding "Real world" usage for Windows Mobile / Symbian device
Fabio Pietrosanti (naif) a ?crit : > However, AMR it's not royalty free and if i need to use it on Windows > Mobile i will need to pay a quite expensive royalty for each peace of > software distributed (not sold, distributed!!!). This is exactly why I wrote Speex! > So, i am evaluating other codes and the only real alternative capable of > running on a 9.6kb/s link seems to
2010 Apr 20
0
Regarding problem with encoding / decoding
Hi, I got the following problem with speex. Could you help me to resolve the following issue. Description: I am taking speech input from MIC storing in a buffer after that i will encode by using speex then decoding and sending to output(speakers). it is small demo project of speech encoding/decoding in VC++. I am reading the data from buffer in the following way where data is short[] type and
2006 Dec 18
2
command line with < > and not wanting to redirect
How do you format a command line that needs < > and they are not meant to redirect anything they are part of an email address. command -f "Some Email <someemail at somedomain.com>" -x -y -z I tried putting a backslach in front of the < and > but that didnt do it either. Thanks, Jerry
2012 May 24
0
problem with encoding/decoding examples
2006 Dec 06
0
speex 1.2beta1 encoding/decoding clicking noise on WM2003
Can you post the input and output file on the web and specify what options you're using (use speexenc/speexdec, *not* your own code). Jean-Marc Yanxin Cui a ?crit : > Would it help if I scale the input wav data before encoding to spx? > One interesting thing is if I encode the same wav file to spx(or > decode the same spx file to wav ) on Windows platform, then there is > no
2007 Jan 23
0
Bitrate expectations for encoding or decoding
Hey Folks. I'm currently working on implementing Theora Video playback for the Unity engine (http://www.unity3d.com). So far everything works fine, But I have a small question: Is there a reliable way to predict what bitrate a stream will have when encoding or decoding? Of course, there's the target_bitrate parameter in the Theora Info structure, but somehow, I always get quite
2010 Apr 05
2
Regarding problem with encoding / decoding
Hi, Tank you for your reply. I have tried the sample programs given the manual and done encoding and decoding a wave file. That is working fine. I have already read the manual and API reference. But this problem did not occured with the wave file encoding/decoding. While capturing the data from MIC and encoding/decoding is giving this problem. Thanks and Regards, Vijender Reddy, -----
2010 Apr 01
2
Regarding problem with encoding / decoding
Hi, I am new to speex library. I am doing project in VC++. My project details are, I have to capture voice from mic and encode it then decode and play. I am capturing the voice and storing in a buffer from there i am reading frame by frame ( 160 bytes) . These bytes i am converting to short int then calling speex_encode-int(). The output buffer i am passing to doder speex_decode_int() function.
2004 Aug 06
2
encoding/decoding example
Hello , I saw that in open source projects which use speex , like sweep and linphone , (there are links in speex website to these projects) the encoding/decoding process is done using vorbis/ogg. (The encoded files which are produced has , for example, "ogg" header). Is there anywhere examples using speex library for encoding and decoding raw files with no "ogg" header?
2006 Dec 07
1
speex 1.2beta1 encoding/decoding clicking noise on WM2003
Would it help if I scale the input wav data before encoding to spx? One interesting thing is if I encode the same wav file to spx(or decode the same spx file to wav ) on Windows platform, then there is no such big clicking noise, samething is true if I use floating_point speex library to encode/decode on WM2003. Problem happens only on WM2003 using FIXED_POINT library. Thanks Yanxin -----