Displaying 20 results from an estimated 120 matches similar to: "Problem Escaping Spaces in File Name"
2002 May 06
1
Prevent infinite recursion in rwrite()
Here's a resend of an old patch that is intended to avoid an infinite
recursion (ending in a stack overflow) of the rwrite() function getting
an error that calls rwrite(), ad naseum. I've only seen this happen
when one of the sides dies due to a program error -- in that case, the
connection is closed, and when we try to send an error to the other
side and it generates an error, the error
2016 Aug 12
2
Samba and POSIX ACLs
Hi everybody,
I know this has been discussed ad naseum, but I can't find an answer to my
question precisely.
My version of samba is 4.2.10.
Here's my question. I have POSIX ACLs set on a directory like this:
# file: .
# owner: root
# group: admin
# flags: -s-
user::rwx
user:apache:rwx
group::rwx
group:admin:rwx
mask::rwx
other::r-x
default:user::rwx
default:user:apache:rwx
2005 Feb 10
2
Searchable Mailing Lists & NooB Question
Quick question.
New to the project, and generally I like to sniff through the mailing
list archives. Are there no searchable archives? I've only found the
monthly archive files for download. Normally I would have searched
the for the answer to the following question:
I'm getting ready to set up a * server at home. No digium equipment.
Using FWD and maybe Vonage in the not too
2013 Mar 07
2
Core dump in 2.2.rc2 with FETCH 1 BODY.PEEK[ALL]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Usingt ./sbin/dovecot --version
2.2.rc2 (7a08461c5559)
with Maildir,
2 FETCH 1 BODY.PEEK[ALL]
dumps core, bt full is:
#0 0x00007fa166e721b5 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007fa166e74fc0 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007fa16721ac47 in default_fatal_finish
2016 Aug 12
0
Samba and POSIX ACLs
It looks like this is a long known issue:
https://bugzilla.samba.org/show_bug.cgi?id=10792
On Fri, Aug 12, 2016 at 10:30 AM, Sergei Gerasenko <gerases at gmail.com>
wrote:
> Hi everybody,
>
> I know this has been discussed ad naseum, but I can't find an answer to my
> question precisely.
>
> My version of samba is 4.2.10.
>
> Here's my question. I have
2007 Apr 13
0
mixin behavior
Hi, all,
I need to DRY up some code in a few models. My first inclination,
having come from the Java world, was to go with an abstract class.
After a bit of reading, I then decided to follow the mixin route
instead. Now I''m running into trouble, most likely from a few basic
misunderstandings.
There are three models I will be using to average and count rating
data by executing a
2006 Aug 07
1
DirHandler escaping (patch)
fiddled around a bit and got DirGHandler to work for both files and directories with spaces in them, and plusses in them (on disk).
eg:
<a href="/files/usr/portage/packages/All/gtk%2B-2.10.1.tbz2">gtk+-2.10.1.tbz2</a><br/>
<a href="/files/root/hey+whatsthis+dir">hey whatsthis dir</a>
both end up at the right place now..
..c.
--------------
2007 Aug 08
0
Escaping special characters before highlighting
Hi all.
I need to perform some operation on the results of a ferret search
before it gets highlighted. Is there a way to do this?
This is my code which calls the highlighting inside a Rails View:
<%= result.ferret_highlight(@query, :field => :ferret_text, :pre_tag =>
''<span class="keyword">'', :post_tag => ''</span>'') %>
--
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 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
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
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
& therefore creating this as my url:
http://localhost:3000/item/list?sort=qty&query=
instead of
2006 Mar 31
2
Backslash Escaping in View
Ok, I''m hoping this won''t be a forehead slapper, but take a look at this code:
physician.name.sub(/''/, "\\''")
I''m trying to substitute a single quote with a backslash and a single
quote. This seems pretty simple right? Well, someone kick me and
tell me why it''s not :)
Here''s what I''m getting if the
2006 Feb 17
0
Problem with string "merging" / escaping
I''m on Mac OS 10.4.3, Ruby 1.8.2, Rails 1.0, MySQL 5,
SaltedHashLoginGenerator and I''m seeing a strange problem where
sometimes generated HTML isn''t quite correct, in the following way:
My code:
<%= datetime_select :event, :meet_at, :start_year => 2006 %>
Generated code:
<select name="event[meet_at(1i)]">
["<option
2006 Feb 19
2
Another "escaping" problem
Ruby 1.8.2, edge Rails (and 1.0), Mac OS X 10.4.3.
Here''s the SQL that gets generated for an eager load:
SELECT events.`id` AS t1_r0, events.`user_id` AS t1_r1, addresses.`id`
AS t0_r0, events.`name` AS t1_r2, addresses.`name` AS t0_r1,
events.`meet_at` AS t1_r3, addresses.`phone_number` AS t0_r2,
events.`created_at` AS t1_r4, addresses.`phone_service` AS t0_r3,
events.`location_id`
2006 Feb 28
2
Escaping Arithmetic Symbols
Could someone please tell me how to escape the ''division'' arithmetic
symbol in a model or controller? I''ve searched around and cannot find a
solution.
I''ve got the following in my model:
def avg_risk
t = 0
self.audits.each{|key| t = t + key.control_rating }
t = t / self.audits.count #this line doesn''t work... I''ve even
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 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
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
2008 Aug 01
1
Escaping SQL when using connection.execute?
Hi all,
Here''s the situation: I''m writing a Rails app that connect to a SQL
Server DB via the ODBC adapter. As an outside, non-negotiable
requirement, and writes to the DB must be performed using stored
procedures. (I know, I know... it sucks).
When constructing the query string, how do I go about escaping the
parameters I want to insert.
My first thought was Rail''s