summaryrefslogtreecommitdiff
path: root/shell/source/unix
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 11:28:31 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 11:28:31 +0000
commit3d2b82ec5d5494051785d91473c1df84d117e49b (patch)
tree3d3c38be4d7d1929b0760f06f49134f8d320f74f /shell/source/unix
parent90fdbb12870d00a4ebcf487d28979851804da6e4 (diff)
INTEGRATION: CWS obr04 (1.1.2); FILE ADDED
2007/01/10 15:02:16 obr 1.1.2.1: #i72543# correctly encode what gets passed to the shell via popen + add unit test
Diffstat (limited to 'shell/source/unix')
-rw-r--r--shell/source/unix/exec/urltest.sh2
-rw-r--r--shell/source/unix/exec/urltest.txt11
2 files changed, 13 insertions, 0 deletions
diff --git a/shell/source/unix/exec/urltest.sh b/shell/source/unix/exec/urltest.sh
new file mode 100644
index 000000000000..ce55ee694114
--- /dev/null
+++ b/shell/source/unix/exec/urltest.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "$1" \ No newline at end of file
diff --git a/shell/source/unix/exec/urltest.txt b/shell/source/unix/exec/urltest.txt
new file mode 100644
index 000000000000..e69a8cfaf92b
--- /dev/null
+++ b/shell/source/unix/exec/urltest.txt
@@ -0,0 +1,11 @@
+http://www.openoffice.org
+http://en.wiktionary.org/wiki/harmless';CMD=lsx-lx$HOME;IFS=x;$CMD;#'
+http://en.wikipedia.org/wiki/Shell_(computers)
+http://www.google.com/search?hl=$100+bill
+http://unix.t-a-y-l-o-r.com/;clear;ls
+http://www.google.com/;exec mozilla;
+http://www.yahoo.com/<>
+http://www.yahoo.com/\
+http://www.yahoo.com/"
+http://www.yahoo.com/'
+http://www.yahoo.com/;echo 'this'; \ No newline at end of file