projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765a1ef
)
Allow for spaces to be escaped in exec program.
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 21 Jul 2010 12:25:30 +0000
(14:25 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 22 Jul 2010 13:42:14 +0000
(15:42 +0200)
Closes #93
src/main/exec.c
patch
|
blob
|
history
diff --git
a/src/main/exec.c
b/src/main/exec.c
index
1efee5f
..
44dd9ae
100644
(file)
--- a/
src/main/exec.c
+++ b/
src/main/exec.c
@@
-175,6
+175,10
@@
int radius_exec_program(const char *cmd, REQUEST *request,
}
break;
+ case '\\':
+ if (from[1] == ' ') from++;
+ /* FALL-THROUGH */
+
default:
*(to++) = *(from++);
}