Displaying 20 results from an estimated 8000 matches similar to: "Escaping SQL when using connection.execute?"
2007 Jan 31
1
RESTful Resources/ Caching Issue?
Hi,
I just ran into a bizarre problem when I put my site into production.
I have a resource (call it xxx), then I created with the generate
script.
I then set up page caching on the show action. But now in the
production environment, trying to call the edit action results in the
show page being retreived from the cache.
I''m assuming this has to do with the similarity of the URL
2008 May 22
14
Specifying certain tables NOT to be cleared each example?
Is it possible to specify that certain tables not be cleared on each
example.
I''ve inherited a project where a good amount of enumerated data is
stored in the database (US States, statuses, about 15-20 tables worth.
Over all, it''s a reasonable decision that leads to solid production
code (acts_as_enumerated is good). This data is read-only and
relatively static; any
2006 Jun 25
1
escaping in sqlite
Hi Timo&all,
a recent change in the sql drivers introduced escaping, but sqlite is a
different in this aspect: You cannot escape with a backslash, the only
character that needs escaping is the quoting character itself (by
doubling it, as the SQL standard says). As the escaping function does
not know which quote character is used, one should only use the single
tick ' (again, as the SQL
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,
2006 Jul 03
2
[Bug 1205] scp back-slash escaping of spaces ignored after username@hostname: tag
http://bugzilla.mindrot.org/show_bug.cgi?id=1205
Summary: scp back-slash escaping of spaces ignored after
username at hostname: tag
Product: Portable OpenSSH
Version: 4.3p2
Platform: ix86
OS/Version: Linux
Status: NEW
Keywords: low-hanging-fruit
Severity: normal
Priority: P3
2008 May 27
2
mbox From escaping implementation ?
Hello,
I read in the wiki (http://wiki.dovecot.org/MailboxFormat/mbox) about
"From Escaping":
"Dovecot doesn't currently do this escaping however. Instead it
prevents this confusion by adding Content-Length headers so it knows
later where the next message begins. Dovecot doesn't either remove the
'>' characters before sending the data to clients. Both of these
2009 Jan 05
1
Problem Escaping Spaces in File Name
Hi All,
I realize this has been addressed ad naseum, but I simply cannot seem to
solve my issue despite many hours of mucking about. I am attempting to
run a command like:
rsync -prvl --delete --stats --progress -e 'ssh -p 22 -i
/root/.ssh/id_dsa'
backup/company/data/current_backup/company_Ralf/doc\\\ -\\\ network/
2006 Jun 09
0
disable escaping of ActionController::Base.url_for
Hi!
I am trying to use rails for a wml/wap application. Submitting forms
with wml goes something like that:
<input type="text" name="search" value="" />
<a href="/portal?search=$(search)">goto</a>
The wap browser replaces $(search) in the url with the text entered in
the input field. Now to my problem.
To use the routing information
2014 Jul 08
2
[Bug 2253] New: No "$@"-like SSH_ORIGINAL_COMMAND leads to escaping, arg-sep and metachar issues
https://bugzilla.mindrot.org/show_bug.cgi?id=2253
Bug ID: 2253
Summary: No "$@"-like SSH_ORIGINAL_COMMAND leads to escaping,
arg-sep and metachar issues
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
2006 Dec 30
4
Escaping inside code blocks?
I am doing unit-tests for Maruku and every once in a while I run into
some doubts.
I am posting a lot to the list, but all of these messages should be
in-topic (tell me if not).
Consider the input:
---
`There is a literal backtick (\`) here.`
`There is a literal backtick (\\`) here.`
``There is a literal backtick (`) here.``
---
The documentation says that line 2 and 3 are equivalent.
2008 Jun 01
0
Mixing mocking frameworks?
First, it was great meeting a bunch of you at RailsConf.
Recently I''ve run into a problem using RSpec, namely its support for
multiple mocking frameworks. Wait you say, isn''t that a good thing?
Yes, it is until you end up mixing frameworks.
I was writing my latest app, and I choose to get the app working and
then add in the authentication system. So I went and wrote all
2012 May 07
1
Sprockets, JST, Eco and escaping
While it was a good move from Rails part to escape ERB <%= %> tags by
default, it doesn''t seem to happen to Sprockets as well.
The strange bit is that according to Sprockets documentation, it would
be just a matter of naming your template as .jst.eco to enable Eco:
https://github.com/sstephenson/sprockets#javascript-templating-with-ejs-and-eco
Then, extracted from Eco
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that
refuses to send emails using ActionMailer.
Looking at the log, it become obvious what''s happening, the system is
looking for templates with underscores at the end. Notice the
exception_notification_ .
For example:
ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for
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©''
In the view:
<%= image_tag(''path/to/file.png'', :alt => @sale[''title'']) %>
Output:
<img alt="My Company
2004 Oct 05
3
>From escaping
Hi all
Is there an option in dovecot to remove the >From escaping in the body of
mbox mails?
Thanks
--
Dean Earley AKA Dee (dean at earlsoft.co.uk)
irc: irc://irc.blitzed.org/
web: http://personal.earlsoft.co.uk
phone: +44 (0)780 8369596
2008 Jan 16
2
Escaping special characters :, (, ), [, ], {, }, !, +, ", ~, ^, -, |, <, >, =, *, ?, \
Hello,
I am trying to escape words for searching i.e., "hello". The key here
is that the two L''s on "hello" are actually vertical bars. Is there
a special function in Ferret or anywhere for that matter that will do
the escaping of the Ferret special characters?
Thanks in advance,
Benjamin
2007 Aug 26
2
authentication with mysql - problem with table name escaping
Found a problem with dovecot 1.0.3 and mysql authentication
I got a problem with escaping of mysql table names. Usually, when a
mysql table name has some special character (in my case there is a table
beginning with the # character) one has to put into these special quotes
--- ` ---; others like ' oder " are not recognized. But dovecot somehow
doesn't allow me to do that.
After
2006 Jun 02
1
escaping quotes for generating xml
Hi,
I need to have my controller return xml from db content. Is there a method
I can call to clean up the text for xml rendering? I tried CGI:escapeHTML,
but forgot it would ignore quotes. some of the db content is going in xml
attributes so the quotes need escaping.
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
2007 Sep 24
1
PicTeX output: how to suppress escaping of $ signs and braces?
Dear All,
I'm trying to draw a TeX histogram with the following pair of commands,
pictex(file = "realhisto.tex")
hist(Peaklist$V3,xlab="Height $z/\\ut{mm}$",ylab="Probability density $\\phi{}(z-z_0)/(1/\\ut{mm})$")
However, in the resulting file realhisto.tex, I get, for example
\put {Height \$z/\ut\{mm\}\$} [lB] <0.00pt,0.00pt> at 136.13 9.17
when