similar to: Rails 3 Forces HTML Escape of Forms

Displaying 20 results from an estimated 8000 matches similar to: "Rails 3 Forces HTML Escape of Forms"

2011 Jan 23
2
RedCloth 4.1.1 vs. 4.2.3 - weird behaviour with notextile
For a community project I aim to combine RedCloth and Coderay and on doing this, I might have found an issue with RedCloth. I pushed a demo to Github: https://github.com/markusproske/redcloth_coderay_demo The index (http://localhost:3000/) demonstrates the issue. In brief: A page consist of textile. The textile contains @@@ruby somecode @@@ The textile is first feed into Coderay via a helper
2002 Apr 29
2
Block Groups and Large Filesystems
Hello, I'm creating a large ext3 filesystem on an LVM volume, on top of a RAID1 for storing Norton Ghost disk images. Most of the files created will be between 1 and 10 GB; there may also be occasional small files also. I'm already going to reduce the number of inodes on the filesystem. Probably limit it to 102400 or so. `mke2fs --help` reports a "-g blocks_per_group" option,
2005 Sep 23
2
17G File size limit?
Hi everyone, This is a strange problem I have been having. I'm not sure where the problem is, so I figured I'd start here. I as having problems with Bacula stopping on 17Gig Volume sizes, so I decided to try to Just dd a 50 gig file. Sure enough, once the file hit 17 gigs dd stopped and spit out an error (pandora bacula)# dd if=/dev/zero of=bigfile bs=1M count=50000 File size
2005 Aug 23
2
HTML escape of umlauts
Cheers, I work on a german site that obviously includes german words with umlauts in its data. It seems like the html_escape function (or simply h() function) will not escape umlauts: <%=h "รค" %> Will not produce &auml; What is the best way to do this? Thanks, Jonathan -- Jonathan Weiss http://blog.innerewut.de
2006 Jan 20
1
Suppress HTML escaping in link_to(:title)?
Hi guys, I''m new to this list and it seems you are my last hope. How can I prevent Rails from automatically escaping HTML entities when creating a hyperlink? You know, link_to( ... :title => ''This is &#8222;quoted&#8220;'') returns ''This is &#8222;quoted&#8220;'' because Rails escapes the ampersands to &amp;. Is there a way I
2010 May 25
1
Rails 2.3.8 still escaping html in strings
Hi All, After a failed attempt to update to 2.3.7 yesterday I''ve tried again today to upgrade to 2.3.8 and whilst most of the site is working I''m still getting some content escaped. I''ve got a helper method that takes a block and uses concat, it can also take some content passed through in a parameter - if content is passed in via the parameter then that is getting
2001 Aug 03
1
About Names
Hello all, I've been using ext3 since it was released for 2.2 kernel, and I've always wondered about the name. Calling it 'ext3' implies that it's a brand-new filesystem, not just a journalling add-on for ext2. I guess I understand that you want to be able to use ext3 and ext2 in the same kernel, but why not make it a mount option, since the journal code is separate in the
2018 Jul 02
0
Incomplete HTML escaping by Xapian::MSet::snippet() (CVE-2018-0499)
Hi folks, I spotted an HTML escaping bug in Xapian::MSet::snippet() while working on the code. This issue has been assigned CVE-2018-0499 (though currently there's no useful information on cve.mitre.org for it). I've added a wiki page for it here: https://trac.xapian.org/wiki/SecurityFixes/2018-07-02 The intended behaviour is that the selected input text is escaped for use in HTML,
2010 Aug 01
3
The {{key}} interpolation syntax in I18n messages is deprecated...
All, Has anyone seen this - I am getting the following deprecation warning when running my functional tests under rails 2.3.8 (just moved an app from 2.3.4 up to 2.3.8 in prep to move to Rails 3 --- if you think this problem is solved in Rails 3 then let me know): The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead. I have isolated the problem to the
2006 Aug 15
4
escaping html?
Hi I have a wysiwyg html ditor in my app. How do I escape html written to the database and encoding when I display the content> Ty Pieter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/d8c50941/attachment.html
2006 Jul 14
2
how to get builder 2.0 to escape attributes in rxml
I am using rxml to produce opml files and need to escape ampersands in the attributes. builder 2.0 docs found at http://builder.rubyforge.org/ show the following xml = Builder::XmlMarkup.new xml.sample(:escaped=>"This&That", :unescaped=>:"Here&amp;There") xml.target! => <sample escaped="This&amp;That"
2013 Jan 31
0
html escape and migrating from rails 2 to rails 3
I''m migrating an app from rail 2 to rails 3 and hitting several instances of strings that need to be code html_safe to prevent the default processing from breaking the html. Are there tools or techniques to easily identify all such instances in the source code or is the only option to discover each instance one at a time? Thanks -- You received this message because you are
2010 Oct 18
2
escape .c files to html code with bash how?
i need to encode .c files to html, like on this website: http://centricle.com/tools/html-entities/ i tried to write a bash script for it: http://pastebin.com/raw.php?i=mZKAw4c5 but it's not working very well :D does anyone has a script, that does this? thank you :\
2002 Apr 29
1
Inode/Blocksize questions
Hi! I'm going to build a maildir-based mailserver with a ~56 gb mail-partition. What blocksize/bytes-per-inode/number of inodes should i use (i don't want to ran out of inodes and don't want to sacrifice too much space for filefragments)? Is there a drawback when lowering the blocksize/increasing the number of inodes (except the maximum filesystem size)? The inodes used by a file is
2016 Oct 29
2
-e escape rule
> Yeah, it only does space-splitting and that's all it will ever do. It still looks to me like there is a bug in the original escaping, since any command receiving that string is receiving a backslash that is not supposed to be there. It should only be escaping the string enough to get it to rsync, not trying to guess what rsync is going to do with it after it gets it. I'm not
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
2006 Jun 21
1
sortable tables not working because of html escaping
i just went through the following tutorial on creating a sortable table: http://dev.nozav.org/rails_ajax_table.html it appears to work as it is supposed to except for the fact that my links are being written wrong. the "&" symbol is being replaced with &amp; therefore creating this as my url: http://localhost:3000/item/list?sort=qty&amp;query= instead of
2007 Nov 18
0
Escaping html entities with in_place_editor_field
I have a field where a user might need to enter text that includes greater than and less than signs. I am using in_place_editor_field, so I need a way to tell it to escape html entities (convert to &gt; and &lt;) when displaying and NOT escape html entities (just show the greater than and less than signs) when editing. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You
2005 Dec 20
0
Using Aggregations in HTML forms?
I am slightly struggling to get a basic aggregation setup For example I have a column in my database called "email" which stores an email address. For various reasons I want the form on screen to be like "<enter email name here>@domain.com", ie the domain part is already fixed - the username is changeable So I create a class called Email which picks the two pieces
2008 Oct 24
2
HTML Forms
Hello, I have a form with two buttons - [1] Create [2] Cancel. By default if a user clicks on any of them, the form gets submitted. However, I dont want to do that. I want to call a javascript function on cancel and form submit (as usual) on create. How can this be achieved? -- Thanks, Jaikishan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are