similar to: escaped HTML in a select

Displaying 20 results from an estimated 50000 matches similar to: "escaped HTML in a select"

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
2007 Aug 01
0
The escapeHTML and unescapeHTML functions on Internet Explorer
I have a question about the escapeHTML and unescapeHTML functions. I''m using the prototype.js in a project and noticed that Internet Explorer needs to also have double quotes escaped/unescaped. Has anyone else run into this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Apr 19
1
RSpec/Webrat Checking output is properly escaped
I want to test that the JSON response from a create action is sanitized properly, but rspec or webrat appears to be parsing the output into proper HTML chars instead of escaped characters. I have verified that it escapes properly in the regular browser json response. The relevant RSpec test code is: include ActionView::Helpers::TextHelper include ActionView::Helpers::UrlHelper it
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 „quoted“'') returns ''This is „quoted“'' because Rails escapes the ampersands to &. Is there a way I
2006 Jun 16
2
DISABLE auto-escaping in image_tag helper
Is there any way to disable image_tag''s automatic escaping of special html entities in it''s :alt tag? Example: >From the controller: @sale[''title''] = ''My Company Product&copy;'' In the view: <%= image_tag(''path/to/file.png'', :alt => @sale[''title'']) %> Output: <img alt="My Company
2004 May 28
1
[Bug 875] missing escape char in "Bad escaped character" message
http://bugzilla.mindrot.org/show_bug.cgi?id=875 Summary: missing escape char in "Bad escaped character" message Product: Portable OpenSSH Version: -current Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P2 Component: sftp AssignedTo: openssh-bugs at mindrot.org
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
2007 Apr 17
1
Problem with escaped control characters
I have created a program for myself for backing up data to tape from my disk to disk to tape system, and after the initial day, I have been using the output of a dry run of rsync to determine what files need to be sent to tape. I think due to an upgrade in rsync the current version now escapes control sequences with something like \#010 instead of ^H, however this is now breaking my backup
2007 Aug 26
0
escaped ampersand in generated restful url
I am using a restful helper method to build a url for use in a link_to_remote method and for some reason the generated url has the ampersand that separates the parameters escaped (i.e. /action?param1=1&amp;param2=2 instead of /action?param1=1&param2=2) Any ideas why and how to make it stop? :-) The code in question resides in a helper, if that matters... Cheers, s0nspark -- Posted via
2006 May 18
2
Utility to translate HTML character entities into text?
Anyone know of a Ruby utility that will translate HTML character entities into text? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2005 Jul 04
1
Localization problems with leeding html escaped ÅÄÖ
Hi All. When translating a string to in swedish, using HTML codes for å,ä,ö i have a minor problem. Eg: (se.yaml) ui_core_over: &Ouml;ver All I get when calling l(''ui_core_over'') in my view is "Ouml;ver" The leeding & is missing, making the page look silly. The HTML characters works fine as long as it''s not used as the first letter in the string.
2012 Dec 11
2
Writing escaped unicode
I'd like to write unicode strings using the "\u" escape syntax. According to the documentation, print.default or encodeString will escape unicode using the \u convention. In practice, I can't make it work. > b="Unicode character: \ufffd" > print.default(b) [1] "Unicode character: ?" > encodeString(b) [1] "Unicode character: ?" I want to
2011 May 13
2
Rails 3 Forces HTML Escape of Forms
I have a legacy application I ported from Rails 2.x. I found that the escaping was occurring where it shouldn''t, like in creation of forms, and I couldn''t turn it off. I found two mechanisms that should have disabled it, a function safe_html, which is supposed to mark a string as not needing to be escaped. The other is raw, which similarly indicates that a string should be output
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
2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown implementation: > The "&" are escaped in URLs. > > An example: > [Link](http://www.site.com/?param1=value1&param2=value1) > > Should output: > <a href="http://www.site.com/?param1=value1&param2=value1">Link</a> > > Currently outputs: > <a
2014 Jun 15
2
Re: ERROR: Domain not found: no domain with matching name 'ubuntu'
I tried running qemu-system-x86_64 -help" command manually. But it seems that it work normally. Here is the output. Kindly guide me. spanhal1@seclab2:/usr/bin$ qemu-system-x86_64 -help QEMU emulator version 1.2.0 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard usage: qemu-system-x86_64 [options] [disk_image] 'disk_image' is a raw hard disk image for IDE hard disk 0
2007 Apr 26
0
select tag helper and option values with html entities prob.
Hi fellow Rails developers, I am using option tags with a select form helper. One option values is containing a special character quoted as html-entity ( &auml; ). When I provide the option tags to the select tag helper the ampersand gets quoted automatically. The result is &amp;auml; which doesn''t look as expected. Has anybody an idea how to avoid this quoting? Thanks, thorsten
2005 Sep 30
1
Ampersand in Auto Complete Entry Broken
Hi, I have been playing around with the autocomplete field in Rails 0.13. I have noticed that if I have an ampersand in the value such as "A&E", if I click on the entry in the autocomplete list, I am left with just A in the text box. I have narrowed it down to: String.unescapeHtml() in prototype.js as what strips the & and what follows it from the value. It strips it
2009 Jun 03
3
Can't play DVD movies on CentOS 5.3 after following guidance on the wiki
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,