Displaying 20 results from an estimated 20000 matches similar to: "Problem with escaped control characters"
2006 Aug 17
3
OSX file creation problems
I am running a REHL 4.3 server with samba RPMs:
3.0.10-1.4e.9
When an os X client connects to our samba server it can copy files from
the server an overwrite other files that already exist. However when it
comes time to create a file, it fails, where this process works
correctly from a windows system. In addition, I can go to where the
volume is mounted on the os X (10.3.7) machine and copy
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
2003 May 24
2
Interpretation of escaped characters in \examples{}
I've noticed a curious interpretation of escaped characters in \examples{}
in .Rd files.
For example, if I type
files <- dir(pattern="\\.txt")
at the R prompt, I will get a vector containing all file names in the
current directory containing the string ".txt". If I put
\examples{ files <- dir(pattern="\\.txt") }
in an .Rd file of a package,
2014 Jul 28
1
Parsing and deparsing of escaped unicode characters
In both R and JSON (and many other languages), unicode characters can
be escaped using a backslash followed by a lowercase "u" and a 4 digit
hex code. However when deparsing a character vector in R on Windows,
the non-latin characters get escaped as "<U+" followed by their 4
digit hex code and ">":
> x <- "I like \u5BFF\u53F8"
> cat(x)
I like
2004 Sep 06
1
scp bug: escaped characters in files prevent copying
When copying a file with an escaped character, scp removes the escaping
character before
sending to the host.
Is there a way to circunvent this?
Some examples follow (linux machines)
A: touch file\(new\)
B: scp user at A:file\(new\) .
user at A password:
bash: -c: line 1: syntax error near unexpected token `('
bash: -c: line 1: `scp -f ('
A: touch file\ 1
B: scp user at A:file\ 1 .
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
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
2004 Nov 30
1
[Bug 957] Shell special characters not escaped by scp
http://bugzilla.mindrot.org/show_bug.cgi?id=957
Summary: Shell special characters not escaped by scp
Product: Portable OpenSSH
Version: 3.9p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: scp
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: greenrd
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/
2009 Jul 07
3
Automatic Gain Control
Is there any possibility of DAHDI supporting Automatic gain control on
TDM ports? I'm having issues at a couple of offices where calls made to
local numbers are fine but a when a calls from or goes to a large
percentage of long-distance or 1-800 numbers the person at the remote
end cannot hear the person in my office. Boosting the gains in
zapata.conf (I'm still using 1.4.21) to 8
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
2007 Feb 27
5
Samba 3.0.10 join domain
I have found a fixed my previous problems (two typos that were hard to
find) and now the smbldap-tools all work as expected if I run them as
root. However when I try to join a domain from a windows machine, the
scripts never run and get an "Access is denied message". Since I am
using 0.10 I do not think I can use net rpc rights, so do I need to add
that into ldap manually? Or do I
2008 Jan 09
5
Anyone know of complete hardware solution based IDE Raid Controllers?
Years ago Accusys made an IDE raid controller that presented itself as
one drive to the BIOS, making the unit completely OS agnostic.
Anything like that out there, anymore?
Cheers,
Brett.
2010 Jan 17
2
How to escape characters in Dialplan
Hello,
I'm using Asterisk 1.6.2.0 and I like to use escape characters with SendText,
because I can just delete the message from my phone (Thomson Speedtouch
ST2030) display by sending a return-char (\n).
But \n is not escaped: I tried already:
exten => 222, n, SendText(\n)
exten => 222, n, SendText("\n")
exten => 222, n, SendText('\n')
exten => 222, n,
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
2008 Jul 06
2
Regular expressions: bug or misunderstanding?
I'm trying to write a gsub() call that takes a string and escapes all
the unescaped quote marks in it. So the string
\"
would be left unchanged, but
\\"
would be changed to
\\\"
because the double backslash doesn't act as an escape for the quote, the
first just escapes the second. I have the usual problems of writing
regular expressions involving backslashes which
2010 Jun 30
1
backslash escape characters in JSON strings
Hi,
I am trying to consume a web service that returns a JSON string, however,
when I run
> fromJSON(s)
Error: '\/' is an unrecognized escape in character string starting "http:\/"
because the string s contains a single backslash, which is the JSON escape
character, but R expects 2 backslashes, I think.
Is there anyway to preprocess the JSON string returned from the web
2012 Dec 04
2
access.log: double quotes not escaped
Hello!
I have seen that if an User Agent has double quotes in it will not be
escaped when printed to access.log:
> 192.168.0.2 - - [03/Dec/2012:20:45:54 +0100] "GET /stu HTTP/1.0" 200 313978 "-" "Che"atin" 15
I saw the code and there is not code to address this.
--
xOneca_,,_
2016 Oct 29
2
-e escape rule
> The point is that the original escaping DOUBLE escapes an equals sign:
> foo\\\=bar
> It shouldn't, there's no reason to.
If you paste into your command line:
rsync -e ssh\ -l\ backup\ -i\ /etc/synco/id_rsa\ -o\
ConnectTimeout\\\=60\ -o\ BatchMode\\\=yes
The list of arguments would be (i.e. the values in ARGV):
['rsync', '-e', 'ssh -l backup -i
2016 Oct 20
5
-e escape rule
Hello,
I'm using Ruby's Shellwords module, which generates a string from an
array, suitable for shell evaluation.
Ruby's implementation prefers escaping whitespace with a backslash
rather than quotes. However, this appears to cause some kind of issue
in Rsync when it computes argv from -e option.
Here is an example command generated by some Ruby code:
rsync --archive --stats -e