projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
misc
/
process
/
meta-import.cgi
diff --git
a/httemplate/misc/process/meta-import.cgi
b/httemplate/misc/process/meta-import.cgi
index
5a97d11
..
68ae49c
100644
(file)
--- a/
httemplate/misc/process/meta-import.cgi
+++ b/
httemplate/misc/process/meta-import.cgi
@@
-1,4
+1,3
@@
-<!-- mason kludge -->
<% include("/elements/header.html",'Map tables') %>
<SCRIPT>
<% include("/elements/header.html",'Map tables') %>
<SCRIPT>
@@
-182,4
+181,10
@@
function SafeOnsubmit() {
% }
%
%
% }
%
%
+<%init>
+#there's no ACL for this... haven't used in ages
+#make XSS-safe if this is used for more than just admins to import data....
+die 'meta-import not enabled; remove this if you want to use it';
+
+</%init>