similar to: Unescaped selection options

Displaying 20 results from an estimated 50000 matches similar to: "Unescaped selection options"

2006 Jan 22
0
Escaping and Unescaping text in ERb
Instead of continuing the thread hijack, I''ve started a new one.... Douglas Livingstone wrote: > 2006/1/22, Kevin Olbrich <kevin.olbrich@duke.edu>: >> >> You know, this has been bothering me a bit lately. If the point of >> doing an html escape on the output is to prevent security problems, >> wouldn''t it make sense for the default action on
2005 Dec 27
6
avoid multiple render per action
Hello, I have a hash that contains categories, and each category ID is a hash of subcategories. What i want to do is dynamically load that hash, loop thru it, for each category , subcat run a query against the DB, and render a partial. The issue is i put the render:partial in a for loop but you can only render once per action. What is the best way to loop thru all my categories without a
2008 Jan 31
0
Cross Site Sniper 0.2 (stable)
I''m pleased to announce the release of Cross Site Sniper 0.2. Cross Site Sniper is one more addition to the ever growing list of tools that attempt to provide a convenient and DRY method to protect Rails sites from Cross Site Scripting (XSS) attacks. There are many plugins and tools out there that attempt to address this issue, but none of them met my requirements. So, I created
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
2010 Mar 02
0
how to get unescaped value of request.url AS-IS?
hi guys, Calling request.url returns "http://gozila-underground.com/search? search%5Bby_keyword%5D=&commit=Search" which is an escaped version of "http://gozila-underground.com:3000/search? search[by_keyword]=&commit=Search". In ruby on rails, how to get the unescaped value of request.url (AS IS)? thank you -- You received this message because you are subscribed
2008 May 13
1
Problem with odfWeave: Unescaped '<' not allowed in attributes values
Dear R users, I am having a problem with odfWeave: when I run odfWeave('notes.odt', 'notes_out.odt') I get a bunch of errors that start with "Unescaped '<' not allowed in attributes values" in post-processing: <snip> ... 'content_1.xml' has been Sweaved Removing content.xml Post-processing the contents Unescaped '<' not
2019 May 16
1
Setting up individual encrypted user keys using mail-crypt-plugin
Hi, I have setup up a simple mail server using the ISPMail tutorial and I'm trying to learn how to create email encryption at rest. I'm having a tough time understanding how to set this up... So say a user logins thru roundcube and they type in their password...so the password authenticates to the mysql database which is storing their encrypted private key?? And once they access that
2017 Jan 16
0
fts-solr: Returning 400 on searches; unescaped braces
Michael Welsh Duggan <mwd at md5i.com> writes: > Using Debian, dovecot-solr 1:2.2.26.0-4, and solr-tomcat 3.6.2+dfsg-9, I > am getting 400 errors when doing searches. Here is an example search > query from dovecot that failed (captured with wireshark): > > Frame 23: 338 bytes on wire (2704 bits), 338 bytes captured (2704 bits) on interface 0 > Linux cooked capture
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers, For some time now I''ve been looking for a decent Rails equivalent of PHP''s "htmlentities" command, because ERB''s html_escape (or more commonly called as just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me. Back in PHP land, I actually had an extended version of the htmlentities command to deal with
2011 Mar 06
1
Early codec selection / negotiation
Hi, This seems to be a fairly common question, but I have Googled for this quite a bit and looked at the Asterisk documentation/book and haven't been able to find an answer. My question is: Can I get my IP phone to select a different codec depending on the final destination of each call? I've got these things connected to my Asterisk box: - Snom 300 phone (supports g729 and
2006 Mar 26
3
Making a custom selection form - newbie
Hello all, I''ve been working with Ruby on Rails for a few weeks now. It''s difficult for me because I don''t have much experience with Ruby, Rails, MySQL, or any other web-languages. But I''m trudging on and learning a lot. I''ve been working on a web application for my dad''s website; it''s a simple content manager for
2006 Sep 07
5
url_for always escape string.
according to the documentation, only the url_for from ActionView escape the URL. which happens on this line escape ? html_escape(url) : url and can be prevented by passing :escape => false to url_for. still according to the documentation, the url_for from ActionController is not supposed to escape the url. BUT IT DOES. at the moment of this line escape ? html_escape(url) : url url has
2017 Nov 16
2
Re: [Qemu-devel] Effect of qemu-img convert -m and -W options
Am 16.11.2017 um 15:47 schrieb Stefan Hajnoczi: > On Wed, Nov 15, 2017 at 11:52:46AM +0000, Richard W.M. Jones wrote: >> [CC to qemu-devel since I'm obviously doing something wrong here, >> I'm just not sure what.] >> >> I was getting ready to add multiple threads to ‘qemu-img convert’ (the >> longest part of v2v conversions) when I noticed that it had them
2010 Oct 25
1
Converting XP SP3 VM to run in Xen
I have tried every what that I can find to convert a XP VMware image to run in Xen 4.0.1 (SUSE 11.3). I have created a Xen VM form an XP ISO image and have it working fine but need to migrate A Tough Book laptop VMware image to Xen. I have converted a VMDK file to VHD file only to find that it does not recognize the image as bootable. ( The VM I have running is a raw format when using the iso to
2006 Mar 12
11
HABTM selection conditions
Hi, I am currently trying to learn RoR and there is something I cannot figure out. I have two models: Article and Category, that are HABTM-linked. Everything works fine if I want to select all articles corresponding to a category, with something like @articles = @category.find(@params[:id]).articles However, I have a ''published'' field in my ''articles''
2017 Nov 16
0
Re: [Qemu-devel] Effect of qemu-img convert -m and -W options
On Thu, Nov 16, 2017 at 03:51:29PM +0100, Peter Lieven wrote: > Afaik all writes to the same QCOW2 serialize because of the s->lock that > is held during the write. So its not suprising that there is no benefit from > mutliple threads as long as reading from the RAW file involves no delay. > Which is likely due to readahead of the OS. I guess this would explain it, thanks. Rich.
2012 Jan 05
3
selection part of "subset"
Hi I want to do something like a <- c(10,20,15,43,76,41,25,46) tab <- data.frame(a) name <- "a" for (v in unique(tab[[name]])) { r <- subset(tab, name==v) # this does not work ... } i.e. a "string" on the left side of the select expression (subset). How could I solve this? thx Christof
2016 Dec 19
3
fts-solr: Returning 400 on searches; unescaped braces
Using Debian, dovecot-solr 1:2.2.26.0-4, and solr-tomcat 3.6.2+dfsg-9, I am getting 400 errors when doing searches. Here is an example search query from dovecot that failed (captured with wireshark): Frame 23: 338 bytes on wire (2704 bits), 338 bytes captured (2704 bits) on interface 0 Linux cooked capture Internet Protocol Version 6, Src: ::1, Dst: ::1 Transmission Control Protocol, Src
2006 Jan 22
9
ERROR: undefined method `h'' for ERB::Util:Module
ERROR: undefined method `h'' for ERB::Util:Module i get above error when i use ERB::Util.h(content) in my controller''s action. can any one one tell me how to use this ''h'' method within controller? thanks, Jigar Gosar http://jigar.org -- Posted via http://www.ruby-forum.com/.
2006 May 03
1
asterisk intergration in third party web application
lo all, i'm quite new to asterisk, i've tested asterisk@home and decided to try and complete a little project. i'd like to make some kind of web integration of asterisk with a classic web board like invision/SFM/phpbb and so on.. The main idea is to let members of the board have an extension created in asterisk when they register or get promoted to a special members group. That