delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/24/14:44:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=BB+vygDEos0zBJqcoyidaknn1F7gXx0oIr24MPDyKlL
9+r2TP9Jl0aFVuAzELp3kaNA9/QQp7mT5iSBRpazHXvZJz6op9sqhjVWAypVuhdF
NbcUXc0AaYDB16AXdLL6NDjkBrGGgZ1+PDDYcI1JTsFhCx01nvsxgM+bBdS/Npe0
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=GHrkHb1etedQA4+XNlJDs7rmwSc=; b=BvjytBdPfSiU+KS9h
OX1gyoDTJg4rHdVsAm8JW25r9wAE2itgGMKi3SwAyX7D34Oo4FNv1qI+2YsXk1HR
j3+y10p09gNdehSuAhrO6cx6IWsdfUIRcLCTuctmlpqvlGUJk8Dml363M3+byeDo
uWaqTjR/O3k4ftbcZcSQzdXP0Q=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f181.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=5EVSAJXqd5sFBdQTBow0LiwWpZRTws8LkhozK1qxLSE=; b=hatZ6R2F74ygsdqrioE/W2i4/QbP9jaFsw2iYkrCtR+cS+AeqpbICVTJdQlfgVFRB9 rToMALWLZH5apA0wHxy7r6QhUDgO3chnErhrl8J0AMLcuWysu+mhPrC4sIxocQnLmTRa PCB1bLxmUtfCZwa7f9iID77OXWw6+TDWkguNUU9xm04WJEF+BSojXWT+DnK5mYwOP2+M aa3HwQpfJZ0i7u3Aivo5u/1TegGWtEpaA+LZtvZRH3v1gU9VJi94l6BPl77tl/xhC/7B Bpj7cOqTZqD6sfNi4xMmsojHhVaJd4X7No6DuaPn29+kmU2mWS+y5mc1ncFHSaJ1dXC1 dDaA==
X-Gm-Message-State: ALoCoQlnS52XkfwTHoimuQk3lXNC7Cztv8oNTbIDsQBojxvVr4sU1A7HT4zKkt0psMHv2ifP7ZHz
X-Received: by 10.42.92.194 with SMTP id u2mr50765563icm.19.1395686648428; Mon, 24 Mar 2014 11:44:08 -0700 (PDT)
Message-ID: <53307C7F.7030600@breisch.org>
Date: Mon, 24 Mar 2014 14:42:07 -0400
From: "Chris J. Breisch" <chris DOT ml AT breisch DOT org>
User-Agent: Postbox 3.0.9 (Windows/20140128)
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: SQL server utility not working when invoked(from a asp.net application) using cygwin
References: <CAN=kAG7tkCxitPj+5k+otz+Sugyjep-KgJ=sq+oyTYquSdaMRQ AT mail DOT gmail DOT com> <532F2E28 DOT 8020406 AT breisch DOT org> <533079D8 DOT 3000703 AT breisch DOT org>
In-Reply-To: <533079D8.3000703@breisch.org>
X-IsSubscribed: yes

Chris J. Breisch wrote:
> Without additional details on what is or isn't happening, this is as
> much assistance as I can provide.
>

I lied. I had one more thought.

Your username, password, database name, sql server name don't contain 
characters that are special to bash, do they? Of the four, password is 
the most likely.

But a password might contain any of ~!@#$%^&*()+`-{}[]|\:";'<>,.?/ or 
even <space>

Any of those could cause problems in your script if they're not properly 
quoted/escaped.

Hoping the filter doesn't eat this because of use of the p-word.

-- 
Chris J. Breisch

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019