Log of /perl/embperl/trunk/epmain.c
Parent Directory
|
Revision Log
Revision
331953 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 9 05:11:19 2005 UTC
(4 years ago)
by
richter
File length: 54274 byte(s)
Diff to
previous 294777
(
colored)
- Added better UTF-8 support:
- Output escaping now takes Perl's UTF-8 flags into
account and will not escape UTF-8 chars anymore
- Diretive Embperl_Output_Esc_Charset allows to
generaly switch between Latin1, Latin2 and UTF-8.
(For UTF-8 this is not necessary when Perl's UTF-8
Flag is correctly set, but this is not the case
for all datasources)
Revision
294776 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 25 13:43:39 2005 UTC
(4 years, 2 months ago)
by
richter
File length: 53981 byte(s)
Diff to
previous 294766
(
colored)
- Integrated KWiki into Embperl website (available under eg/web)
- Don't croak if Apache request record is not available (e.g. during startup)
- Fixed wrong setup of $epreq -> param -> filename, when a Embperl offline
processing is made inside an Embperl page. Reported by Gavin Carr.
- Return correct http status codes 403 and 404 if access to a file is
forbidden or the file was not found. Reported by Cliff Rayman.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
294766 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 9 05:12:19 2005 UTC
(4 years, 3 months ago)
by
richter
File length: 53765 byte(s)
Diff to
previous 294756
(
colored)
- http headers from %http_headers_out will now also be send when the
init method of an application object return non zero (e.g. 302 for redirect).
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
294734 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 28 06:31:00 2005 UTC
(4 years, 8 months ago)
by
richter
File length: 53778 byte(s)
Diff to
previous 294732
(
colored)
- If optReturnError is set in the httpd.conf it is now reseted
for all sub components, to make sure all errors are reported
back. (It can still be set via the options argument of
Execute).
- Using ErrorDocument by setting optReturnError now also works
under EmbperlObject. Reported by Robert Noris.
Revision
294732 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 27 22:16:42 2005 UTC
(4 years, 8 months ago)
by
richter
File length: 53784 byte(s)
Diff to
previous 294728
(
colored)
- If an object is passed to die inside Execute the errors array
will receive this object and will not be stringified.
Requested by Robert Noris.
- $epreq -> errobj holds the last object passed to die during
the request.
- Added documentaion of Embperl's error handling and trapping.
Revision
294728 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 25 08:06:22 2005 UTC
(4 years, 8 months ago)
by
richter
File length: 53746 byte(s)
Diff to
previous 294723
(
colored)
- Output an error message when an Embperl sub is called and no
Embperl request is active.
- Do not use method call to output in send_error_page to avoid
trouble with overloaded output function.
Revision
294646 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 16 08:24:26 2004 UTC
(5 years, 10 months ago)
by
richter
File length: 52056 byte(s)
Diff to
previous 294637
(
colored)
- fix inc path problem with perl 5.8.2 in make test
- fix taited problem with mod_perl 1.99_12
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
294597 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 26 10:03:45 2002 UTC
(7 years ago)
by
richter
File length: 51351 byte(s)
Diff to
previous 294578
(
colored)
- website changes
- If no name is given for a key, Form::Validate now tries to lookup the correct
text via Embperl's gettext method.
- Fixed problem with message ids that are Perl keywords. Reported by Jaak.
- Added EMBPERL_COOKIE_SECURE option to transfer cookie only over a secure
connection.
- Added EMBPERL_OUTPUT_MODE that allows to change to XML output, which cause
generated tags to contains a closing slash, so they are valid XML/XHTML.
Revision
294221 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 1 21:31:10 2001 UTC
(8 years, 2 months ago)
by
richter
File length: 109349 byte(s)
Diff to
previous 294208
(
colored)
- Add undef to %idat for select tag with nothing selected if
optAllFormdata is set.
- source sync <-> Embperl 2
Revision
294203 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 10 14:06:42 2001 UTC
(8 years, 3 months ago)
by
richter
File length: 109201 byte(s)
Diff to
previous 294194
(
colored)
- Added options optAddUserSessionToLinks, optAddStatusSessionToLinks
and optNoSessionCookies to control how the session id is passed.
- Added new hash %sdat which holds temporary sessins data.
Revision
294190 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 9 05:58:26 2001 UTC
(8 years, 4 months ago)
by
richter
File length: 106432 byte(s)
Diff to
previous 294179
(
colored)
- use Content-Lenght HTTP Header instead of $ENV{CONTENT_LENGTH}
when running under mod_perl and win32. This fixes a bug
with POSTed data reported by Lukas Zapletal.
- Display correct Apache module name in Makefile.PL when
requesting path for Apache module. Patch from James Lee.
Revision
294176 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 3 18:15:45 2001 UTC
(8 years, 5 months ago)
by
richter
File length: 105902 byte(s)
Diff to
previous 294173
(
colored)
- fixed problem when environment variables are not correctly
reseted by mod_perl, with caused sometimes problems with
configuration, mainly (but not only) with ActiveState Perl.
- fixed problem with wrong setup of Content-Length header
when running in CGI mode, with escmode = 0. Spotted by
Edwin Ramirez.
Revision
294138 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu May 10 19:08:38 2001 UTC
(8 years, 6 months ago)
by
richter
File length: 105196 byte(s)
Diff to
previous 294120
(
colored)
- adapted make test to Perl 5.6.1 and 5.7.1 so now it passes sucessfully.
- fixed problem with cleanup in threaded Perl 5.6.1 and higher
- added pod documentation to embperl.pl. Patch from Angus Lees.
- %http_headers_out can take now array refs as elements to set multiple
headers of the same value. Patch from Maxwell Krohn.
- No module-documenations (like Intro.pod Faq.pod etc) now get copied under
the correct directory and man pages are generated with the correct name
(e.g. perldoc HTML::Embperl::Intro works now after installation). Based
on an idea from Angus Lees.
Revision
294070 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 9 06:21:39 2001 UTC
(8 years, 8 months ago)
by
richter
File length: 103902 byte(s)
Diff to
previous 294055
(
colored)
- Fixed bug in SetSessionCookie which had called undefined method
getinitalid. Spotted by Sun Choi.
- Additions to IntroEmbperlObject.pod by Neil Gunton.
Revision
294048 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 29 10:44:07 2001 UTC
(8 years, 9 months ago)
by
richter
File length: 103824 byte(s)
Diff to
previous 294047
(
colored)
- Make EmbperlObject work better with relative paths and drive letters
on Windows. Based on a patch from Freddy Vulto.
- Fixed a problem with the cache key, which could cause that the same
file is compiled within different packages.
Revision
294047 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 15 20:17:38 2001 UTC
(8 years, 10 months ago)
by
richter
File length: 103818 byte(s)
Diff to
previous 294009
(
colored)
- Corrected a problem that leads to very strange errors when an
Embperl sub is called from an in memory source (that is passed
via the Execute input parameter). Spotted by Neil Gunton.
Revision
293986 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 9 20:25:24 2000 UTC
(9 years ago)
by
richter
File length: 101041 byte(s)
Diff to
previous 293983
(
colored)
- Added validaten for session cookie. If Apache::Session 1.53+ is installed
it uses the validate method from Apache::Session::Generate::xxx. If a invalid
session id is found a new one is generated. Spotted by Angus Lees.
- If a not existing session id is received, Embperl generates now a new one.
- Enhancements of Cookie resending logic. To make sure cookies are send when
neccessary, but not more often. (Handles now write to session data, after
a delete in the same request correctly).
- Added more tests for Sessionhandling.
Revision
293976 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 7 11:28:39 2000 UTC
(9 years ago)
by
richter
File length: 100816 byte(s)
Diff to
previous 293953
(
colored)
- Fixed problem that call to close triggers error in Session.pm when using Store::File.
Spotted by Alvar Freude.
- Fixed problem that GetSession doesn't return a value for new session.
Spotted by Angus Lees.
- Added new function SetSessionCookie, which can be used to set the session cookie
header in case you use Embperl session management, but don't use a
Embperl page in that request. Suggested by Alex Schmelkin.
- Fixed problem that DeleteSession does not work outside the base template, when
used with EmbperlObject. Spotted by Angus Lees.
- Fixed problem when use multiple nested ../foo.htm inside EmbperlObject.
Spotted by Neil Gunton.
- Included patch from Angus Lees to ease building on debian.
Revision
293953 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 17 08:23:09 2000 UTC
(9 years, 1 month ago)
by
richter
File length: 99433 byte(s)
Diff to
previous 293952
(
colored)
- Embperl is now able to output binary data if EMBPERL_ESCMODE
and/or $escmode is zero. This also include that no CRLF is
added at the end of the file, if escmode is zero.
Revision
293951 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 17 07:02:11 2000 UTC
(9 years, 1 month ago)
by
richter
File length: 99240 byte(s)
Diff to
previous 293938
(
colored)
* Now Embperl also searches the path for files like
../foo.html, or bar/foo.html, which includes a relative path.
- ../* is now a shortcut for the requested file, but in the
parent directory (or upper depending on the search path)
- Added hash %CLEANUPFILE. All variables defined into the files given
in this hash, are also cleanup at the end of the request.
Patch from Todd Eigenschink.
Revision
293920 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 11 09:53:38 2000 UTC
(9 years, 2 months ago)
by
richter
File length: 93009 byte(s)
Diff to
previous 293919
(
colored)
- Embperl now runs on ActiveState Perl. With a lot of help
from Randy Korbes.
- embpcgi* and embpexec* are now geratated out of *.templ instead
of editied in place to avoid problems with cvs conflicts
and lower/uppercase on Win32. Suggest by Jens-Uwe Mager.
Revision
293919 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 7 20:14:15 2000 UTC
(9 years, 2 months ago)
by
richter
File length: 93047 byte(s)
Diff to
previous 293918
(
colored)
- Added access to Embperl session handling for modules and
calling scripts (see SetupSession and GetSession)
- Added method for deleting session data and cookie
- Added method for triggering resend of session cookie.
Revision
293910 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 17 07:32:10 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 92328 byte(s)
Diff to
previous 293908
(
colored)
- Embperl now supports Apache::Session 1.52. See "Session handling"
in the docs, how the setup has changed.
- changed require to use HTML::Embperl in EmbperlObject to avoid problems
with dynamic loading. Spotted by Robert.
- Embperl takes the cookie for session handling from the Apache
request record to make it available in earlier phases then the
content handler. Suggested by Jack Cushman.
- added entity decoding for value attribute of radio/checkboxes.
Spotted by Chris Thorman.
- %fdat is not resetup when already done and formtype is
multipart/formdata. Spotted by Michael Slade.
- Embperl inserts & instead of a signle & inside query strings
when expaned from array or hash refs.
- Embperl now also accepts hashref inside a url and expand it
to a query_string i.e. <a href="foo.html?[+ { a=>1, b=>2 }+]"> will become
<a href="foo.html?a=1&b=>2">.
- EMBPERL_COOKIE_EXPIRES now also supports relativ times like:
+30s +10m +1h -1d +3M +10y
Revision
293908 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 10 19:32:47 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 91693 byte(s)
Diff to
previous 293905
(
colored)
- Fixed a problem with POSTed data, which had got lost for the first,
request when using EmbperlObject handler. Spotted by
Kaare Rasmussen.
- Fixed a typo in HTML::Embperl::Mail, spotted by Robert.
Revision
293905 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 17 05:16:28 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 91643 byte(s)
Diff to
previous 293903
(
colored)
- correct spelling error and renamed ScanEnvironement to ScanEnvironment.
(ScanEnvironement still works).
- EmbperlObject can now be used also offline (via HTML::EmbperlObject::Execute)
- MailFormTo and HTML::Embperl::Mail::Execute now have a configuration
directive EMBPERL_MAILHELO, can be used to specify the host/domain for the
HELO/EHLO command. Suggested by Remco Brink.
- Fixed a bug that caused the default drive to be incorrectly set on Win 32.
Revision
293903 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 16 17:45:55 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 91319 byte(s)
Diff to
previous 293902
(
colored)
- Added new debug flag dbgObjectSerach which logs the EmbperlObjects
work when searching the correct file.
- If import parameter is given to Execute, Perl code is compiled, but
only [! !] blocks are executed (to allow sub definitions on import)
- Space is converted to %20 instead of +, because that is more generic.
Suggested by Michael Blakely.
- EmbperlObject now automaticly defines all subs that are declared
inside the base template and inside the requested page, so it isn't
neccessary anymore to call Execute with import => 0 for them.
- Every Embperl Page now get passed a request object (which can be obtained
from $_[0]). The request object is a hash reference which is blessed
into the package HTML::Embperl::Req. Embperl itself don't uses the hash, so
you are free to populate it and pass data between different pages of one request.
- EmbperlObject now setup the inherence so that
request page -ISA->
base template -ISA->
EMBPERL_OBJECT_HANDLER_CLASS (if defined) -ISA->
HTML::Embperl::Req
and the Embperl request object is blessed into the packages of the
requested page, so you can do methods calls to subs that are defined
inside the requested page.
Revision
293902 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 8 17:09:41 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 90405 byte(s)
Diff to
previous 293901
(
colored)
- Added new debug flag dbgObjectSerach which logs the EmbperlObjects
work when searching the correct file.
- If import parameter is given to Execute, Perl code is compiled, but
only [! !] blocks are executed (to allow sub definitions on import)
- New debug flag dbgObjectSearch can be set to see which files
EmbperlObject picksup and how it searches them.
- Space is converted to %20 instead of +, because that is more generic.
Suggested by Michael Blakely.
Revision
293810 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 2 04:41:41 2000 UTC
(9 years, 6 months ago)
by
richter
File length: 87752 byte(s)
Diff to
previous 293798
(
colored)
- New $escmode (or EMBPERL_ESCMODE) to disable the possiblilty
to turn off escaping with a leading backslash. Adding 4 to
any escmode will cause Embperl to do no special processing
on the backslash. This is mainly to avoid problems with
cross site scripting issuse, where people are able to enter
aribtary HTML.
- Characters between 128 and 159 are all HTML escaped now to
avoid problems with buggy browser, which were reported to
treat the chars 139 and 141 as < and >.
Revision
293798 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 29 07:00:42 2000 UTC
(9 years, 7 months ago)
by
richter
File length: 87676 byte(s)
Diff to
previous 293783
(
colored)
- Applied a patch from Jens-Uwe Magner to make Embperl work
with mod_perl 1.22 on AIX. We now require mod_perl 1.22,
but I should now work as DSO and staticly linked.
- Applied a patch from Francis J. Lacoste that makes sure
that when a package name is given the file is always compiled
into this package. Note: This means that if you specify a
packagename and the packagename differs from request to
request, the page is compiled for every package and therfore
consuming memory on every request.
Revision
293783 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 20 20:32:14 2000 UTC
(9 years, 10 months ago)
by
richter
File length: 88278 byte(s)
Diff to
previous 293767
(
colored)
- Fixed a bug, that the logfile if opened also EMBPERL_DEBUG is set
to zero. Now if debug is zero, no logfile will be opened. Spotted
by Jason Bodnar and Christian Gilmore.
Revision
293766 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 25 12:48:58 1999 UTC
(10 years ago)
by
richter
File length: 88261 byte(s)
Diff to
previous 293756
(
colored)
- fdat parameter of Execute function isn�t honoured when
call from CGI script which has received multipart/formdata.
Spotted by NHan H. Trinh.
- @ffld was not correctly setup, when only fdat parameter is
given in calls to Execute.
- if mtime parameter is undef or 0, now the pcode really isn't
cached. Spotted by Neeme Vool.
Revision
293756 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 2 19:30:05 1999 UTC
(10 years ago)
by
richter
File length: 88247 byte(s)
Diff to
previous 293755
(
colored)
- Added URL of better emacs mode for Embperl from Erik Arneson.
- Added new paramter 'errors' to Execute function which takes an
array ref, that returns any error messages. Suggested by
James Elson.
Revision
293755 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 2 08:33:39 1999 UTC
(10 years ago)
by
richter
File length: 88226 byte(s)
Diff to
previous 293752
(
colored)
- Fixed an endless loop that occured when tainting is on and
the same document is called two times via Execute. With help
from Jason Holt.
- Changed access to addtional upload fileinfo. The old syntax
(${${$fdat{<name_of_field>}}}) isn't available anymore, because
it doesn't work with filenames that are not a vaild per
variable name. Now there is a second field which start with a
dash that's holds a hash ref to the file info. Spotted by
Huang-Ming Pan.
- The Embperl specific part of Apache session (former
Apache::Session::Embperl) is now part of the Embperl distribution
(as HTML::Embperl::Session). This makes Embperl independ of
new releases of Apache::Session. Embperl now works with
Apache::Session version 1.00 and higher. Apache::Session 0.17 is still
supported, but the documentation is removed, because it should no
longer be used.
- Apache::Session must not be preloaded prior to Embperl. It's
enought to set EMBPERL_SESSION_CLASSES and Embperl will bring
the right modules in memory for you.
- Removed the call to mod_perl_sent_header, which was an workaround
for an problem with (very) old mod_perl version, because it doesn't
resolve on (every) IRIX. Spotted by Jearanai Vongsaard.
- NOT_FOUND, FORBIDDEN now also logged thru Apache, so the LogLevel is
honoured and log message in Apache error log get a time stamp.
Spotted by Christian Gilmore.
- Removed warings that apears when compiling with -Wall.
Revision
293752 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 1 08:25:23 1999 UTC
(10 years ago)
by
richter
File length: 88632 byte(s)
Diff to
previous 293749
(
colored)
- Fixed an endless loop that occured when tainting is on and
the same document is called two times via Execute. With help
from Jason Holt.
Revision
293744 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 6 05:04:49 1999 UTC
(10 years, 1 month ago)
by
richter
File length: 87666 byte(s)
Diff to
previous 293743
(
colored)
- Added new array @http_headers which could be used to set arbitary
http header under mod_perl _and_ in cgi mode.
- setting http headers and <META HTTP-EQUIV=..> now works also
in cgi mode.
Revision
293743 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 5 06:04:11 1999 UTC
(10 years, 1 month ago)
by
richter
File length: 86435 byte(s)
Diff to
previous 293741
(
colored)
- Fixed a great security whole in CGI mode. Because Apache passes
anything after the first '?' to the cgi script as commandline
arguments, embpexec.pl could be tricked into offline mode, where
it returned any file that is readable by the httpd! So if you are
using CGI mode, I strongly recommend to update to 1.2b10.
Now you must use embpcgi.pl instead of embpexec.pl in CGI mode.
Spotted by Jason Holt.
- Added EMBPERL_ALLOW. If the file doesn't EMBPERL_ALLOW Embperl
will return forbidden. This is primarly another security
feature, because dependig on the way you use Embperl in CGI mode,
it will not honour all Apache access restrictions. With
EMBPERL_ALLOW, you can now force it to serve only certain
files. Suggested by Jason Holt.
Revision
293741 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 28 06:40:06 1999 UTC
(10 years, 1 month ago)
by
richter
File length: 86316 byte(s)
Diff to
previous 293739
(
colored)
- exit now works the same in offline, mod_perl and cgi mode, it
ends the execution of the page, but not the programm itself.
- exit inside a sub will now really exit the page. Spotted by
Cliff Rayman.
Revision
293739 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 27 06:33:50 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 86213 byte(s)
Diff to
previous 293737
(
colored)
- Embperl works now with Apache::Session 0.17, 1.02 and 1.04
(1.03 is errornous)
- Fixed a SIGSEGV that occurs when the req_rec parameter of the
Execute functions gets a Apache::Request object instead of a
Apache object, which occured due to the different ways the
Apache internal request_rec is stored inside the object.
Spotted by Francis J. Lacoste.
- Fixed a SIGSEGV that occured when outputting to a scalar and
optReturnError is set. Spotted by Francis J. Lacoste.
Revision
293737 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 17 04:25:09 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 86178 byte(s)
Diff to
previous 293731
(
colored)
- Fixed a problem that had occured with magic SVs (tied scalar)
as source for the Execute function. Spotted by Todd Eigenshink.
Revision
293731 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 05:11:37 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 86131 byte(s)
Diff to
previous 293729
(
colored)
- Fix a memory leak which eats one SV per <OPTION> tag, introduced
in 1.2b6.
- German documentation (IntroD.pod, FeaturesD.pod and EmbperlD.pod)
are now included in the distribution.
Revision
293729 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 4 17:48:37 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 86124 byte(s)
Diff to
previous 293727
(
colored)
- Fixed behaviour of <INPUT>. <INPUT> now does not overide
VALUE="" with the value from %fdat. This seems to has been
broken, since a couple of versions and the fix may break
pages that depends on that wrong behaviour. Anyway I have
to fix it before the release version is out!
- Fixed error in URL unescaping, spotted by Hartmut Palm.
- _WINSOCK2API_ gets defined on Win32, when compiling with
Apache 1.3.9. Spotted by Randy Korbes.
- Win32 test uses also embpexec.test.pl (instead of .bat),
so cgi test runs also with Apache 1.3.9. Spotted by Randy Korbes.
Revision
293727 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 30 11:39:23 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 85103 byte(s)
Diff to
previous 293724
(
colored)
- Embperl works now with Apache::Session 1.01
(1.01 _not_ 1.00 or below!)
- Cookie for session id is only send the first time and not
resend if it's already known by the browser. Suggested
by Roman Maeder.
Revision
293724 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 19 04:53:30 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 84311 byte(s)
Diff to
previous 293722
(
colored)
- Fixed SegFault when parameter input => is numeric. Spotted by
Cliff Rayman.
- Added option optNoUncloseWarn, which disables the warnings
about unclosed if, while, table etc.
Revision
293722 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 17 03:46:16 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 84116 byte(s)
Diff to
previous 293721
(
colored)
- fix a bug in URL unescaping
- select <option value="a & b"> works now correctly. Spotted by
Rick Welykochy.
Revision
293721 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 10 13:37:05 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 84113 byte(s)
Diff to
previous 293720
(
colored)
- '%' is escaped to %25 inside of URLs
- Inside the A tag only the HREF attribute is URL escaped, instead
of the whole tag.
- The SRC attribute of embed, frame, iframe, img, layer now are
also URL escaped.
- Giving a an array refernce inside an URL, cause Embperl expand
it to URL parameter syntax (i.e. [+ \@A +] becomes A=1&B=2, when
@A = (A, 1, B, 2) ).
- Embperl checks now for unclosed metacommands (if, while etc.) and
unclosed HTML tags (table etc.). Suggest by Todd Eigenshink.
- Fixed a problem when file was not found, which causes in some cases
a SIGSEGV.
- Added new configuration directive EMBPERL_MAIL_ERRORS_TO. If set
all error messages will be send to the given address.
- input_/output_func parameter can take a code reference as
argument. Based on a patch from Jon Tobey.
- Set force PERL_DL_NONLAZY to zero, so make test does not fail
if dynaloader was initialized with PERL_DL_NONLAZY set.
Patch from John Tobey.
- [$ foreach $i(x..y) $] does not require a space before the (
anymore. Suggested by Jonny Cavell.
Revision
293720 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 8 23:56:33 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 82635 byte(s)
Diff to
previous 293719
(
colored)
- Doku updates
- Inside of an A tag URL escaped characters are translated back
to their ascii aquivalent inside of perl code, before the code
is executed. This avoid problems with HTML editors, which
changes space to %20 inside an URL.
Revision
293719 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 21 17:53:49 1999 UTC
(10 years, 4 months ago)
by
richter
File length: 82651 byte(s)
Diff to
previous 293718
(
colored)
- Add parameter 'firstline' to specify the linenumber of the
first line in the input
- Defined missing DECLINED constant for non mod_perl environement
Spotted by James Elson.
Revision
293717 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 7 08:11:33 1999 UTC
(10 years, 4 months ago)
by
richter
File length: 82376 byte(s)
Diff to
previous 293714
(
colored)
- When call another page via Execute EMBPERL_VIRTLOG will
automaticly set to the same value as the in the calling page
Revision
293714 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 6 11:56:14 1999 UTC
(10 years, 4 months ago)
by
richter
File length: 82325 byte(s)
Diff to
previous 293712
(
colored)
- Embperl now never writes to the logfile if EMBPERL_DEBUG is zero
- make test now runs with newest version of mod_ssl (2.3.5)
- Added option optKeepSpaces which will disable the removing of spaces
and empty lines from the output. Suggested from Gary Shea.
- Added option optOpenLogEarly, which will cause Embperl to open the
logfile as soon as it is loaded into memory. You can use this when
you loaded Embperl via PerlModule under Apache, to open the log
as root instead of the non-privileged user Apache runs as.
Revision
293712 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 11 20:18:05 1999 UTC
(10 years, 5 months ago)
by
richter
File length: 82032 byte(s)
Diff to
previous 293704
(
colored)
- Fixed a problem that @ffld contains the same field more then
one time if posted from a select multiple with multiple items
selected. This caused problems with [$hidden$]. Spotted by
Martin Leja.
Revision
293704 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 26 18:21:33 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 82066 byte(s)
Diff to
previous 293703
(
colored)
- Added the possibility to use recursive calls to Execute.
NOTE: You can create local variables via [* local $foo ; *]
Revision
293703 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 24 18:43:24 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 81652 byte(s)
Diff to
previous 293702
(
colored)
- Makefile.PL ask�s now if it can�t find any modules. On win32
it will not try to guess (the maybe wrong) path anymore.
- Add optKeepSrcInMemory which tells Embperl to keep the source
file in memory and not reload it on every request
Revision
293702 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat May 15 16:36:47 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 81441 byte(s)
Diff to
previous 293701
(
colored)
- Added possibility to get the the uploadInfo from CGI.pm
(e.g. ${${$fdat{upload}}} -> {'Content-Type'} will return the
content type). Requested by Brian Reichert.
- Catch die of CGI.pm when it hit's a 'Malformed multipart POST'.
Spooted by Chris Alexander.
Revision
293701 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 10 20:35:14 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 81332 byte(s)
Diff to
previous 293699
(
colored)
- Made Makefile.PL more smarter in DSO situations. It detecteds now
which of the needed Apache modules are linked staticly and places
neccessary LoadModule statements in the httpd.conf for make test.
This way make test should work also where all modules linked at
runtime, like on RedHat 6. With help form James H. Thompson.
Revision
293699 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 20:13:54 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 81326 byte(s)
Diff to
previous 293697
(
colored)
- Added new parameter "import" to Execute, which let's you import subs
(defined with [$sub <name>$]) into the current page.
- Added emacs/embperl.el. It's a emacs minor mode for Embperl written
by Erik Arneson
- Output of dbgShowCleanup is now sorted by name
Revision
293697 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 20 09:25:04 1999 UTC
(10 years, 7 months ago)
by
richter
File length: 78788 byte(s)
Diff to
previous 293696
(
colored)
- Added epchar.c.iso-latin-2 from Jiri Novak, which contains the correct
escaping for the iso-8859-2 (iso-latin-2) character set. You may use it
to replace the standard epchar.c
- Added new metacommand [$ sub <name> $] and [$ endsub $] which allows
you to define blocks of code an call them mulitple times inside a page,
either a creating a subrequest Execute('#<name>') or by calling them
directly as a perl subroutine [- <name> -]. Read the docs for more
information on the details and differences.
- @ffld is filled with 'values %fdat' if the ffld parameter in the call
to the Execute funtion is missing.
- Filedata will held into memory until the end of the request, so a
second call to Execute for the same file will not reread the data
from disk.
Revision
293696 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 30 21:56:11 1999 UTC
(10 years, 7 months ago)
by
richter
File length: 76154 byte(s)
Diff to
previous 293693
(
colored)
- fixed a small memory leak which was caused by not releasing
memory space for the cookie-name/-domain etc.
- added the missing -T switch to embpexec.test.bat, which caused the
taint test in cgi mode to fail on win32
Revision
293693 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 22 05:18:38 1999 UTC
(10 years, 8 months ago)
by
richter
File length: 75895 byte(s)
Diff to
previous 293692
(
colored)
- Fixed the problem that the output of Execute inside a table
didn't come out when optEarlyHttpHeader was set. Spotted by
Chris Alexander.
- %fdat of a Execute will not be overwritten anymore when the
%fdat of the main request was empty. Spotted by Chris Alexander.
Revision
293689 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 15 12:28:41 1999 UTC
(10 years, 9 months ago)
by
richter
File length: 75476 byte(s)
Diff to
previous 293682
(
colored)
- Added dbgSession flag to enable/disable logging of session handling
- Added configuration diretives EMBPERL_COOKIE_NAME, EMBPERL_COOKIE_DOMAIN,
EMBPERL_COOKIE_PATH and EMBPERL_COOKIE_EXPIRES to configure the cookie
which holds the session id. Suggested by Cliff Rayman.
- final 1.2b4
Revision
293682 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 16 12:15:10 1999 UTC
(10 years, 10 months ago)
by
richter
File length: 74577 byte(s)
Diff to
previous 293681
(
colored)
- The cleanup after the every request, now not only cleans up
scalars, array and hashs, but also closes all open file- and
directoryhandles and undef's all typglob (which causes for
example DBIx::Recordset objects to DESTROY correctly)
NOTE: This also causes imported variables from other packages/modules
not to be cleanedup anymore!!
Revision
293681 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 12 10:01:13 1999 UTC
(10 years, 10 months ago)
by
richter
File length: 74540 byte(s)
Diff to
previous 293680
(
colored)
- When requesting to view the logfile via the browser now all
lines which does not start with a pid ([<pid>]) are displayed.
- fixed a problem, that sometimes not all errors are shown in the
error page, in conjunction with dynamic tables
Revision
293680 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 6 21:13:59 1999 UTC
(10 years, 10 months ago)
by
richter
File length: 73672 byte(s)
Diff to
previous 293663
(
colored)
- Added the dbgProfile flag which cause the display of the time
since the request start for every source line in the logfile.
- Correct a problem that the escape character ('\') was not removed
when unescaping the input. Now '<' is correctly translated
to '<' and '\<' is translated to '<' .
Revision
293663 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 10 09:35:03 1998 UTC
(11 years ago)
by
richter
File length: 72606 byte(s)
Diff to
previous 293662
(
colored)
- Added a patch from Todd Eigenshink to build Embperl with
Stronghold 2.4.1
- Added patch from Gerald McLarnon so Embperl compiles on AIX
- Added optAllowZeroFileSize to accept files of length 0,
without that option Embperl will report NOT_FOUND.
Suggested by Doug Bagley
- some cleanups
Revision
293662 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 8 19:54:11 1998 UTC
(11 years ago)
by
richter
File length: 72502 byte(s)
Diff to
previous 293661
(
colored)
- Added %mdat for persistent data on a perl module/page basis
- Added patch for Apache::Session for %mdat
- cleanups
Revision
293653 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 27 21:50:57 1998 UTC
(11 years, 1 month ago)
by
richter
File length: 71423 byte(s)
Diff to
previous 293649
(
colored)
- req_rec param isn't necessary anymore for Execute
- added shortform of Execute
- fix a problem with setting $escmode inside a URL
Revision
293649 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Oct 25 21:07:48 1998 UTC
(11 years, 1 month ago)
by
richter
File length: 71392 byte(s)
Diff to
previous 293646
(
colored)
- fixed a wrong call to logerror when OPT_EXECCGI is not on,
spotted by Dirk Lutzebaeck.
- fixed the problem that reloads only takes place at the next day,
because mtime was an int instead of a double. Spotted by
Michael Smith and Roman Maeder.
- cleanup for all subpages are disabled if main request has
disabled cleanup and subpages does not specify otherwise
- dbgShowCleanup works again
- Every package is only cleanuped once, also it's included multiple
times in one page
- %fdat and @ffld are setup correctly when optDisableVarCleanup
is set
Revision
293640 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 28 18:25:32 1998 UTC
(11 years, 1 month ago)
by
richter
File length: 69493 byte(s)
Diff to
previous 293639
(
colored)
- added test for including Embperl pages inside another Embperl page
- fixed some errors in errorhandling
- more small fixups
Revision
293637 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 25 21:51:52 1998 UTC
(11 years, 2 months ago)
by
richter
File length: 67667 byte(s)
Diff to
previous 293634
(
colored)
- I have reworked the whole source code so Embperl is now
going to be an object. This means Embperl is reentrant, you
can call Execute within an Embperl page, for example to include
the same header on each page.
Revision
293627 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 27 19:45:29 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 59115 byte(s)
Diff to
previous 293625
(
colored)
- nesting of html and metacommand is independend now
- add test for post request
- add test for optUndefToEmptyValue
- fixed bug with optUndefToEmptyValue
Revision
293625 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 26 19:19:57 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 58790 byte(s)
Diff to
previous 293624
(
colored)
- Changes URL escaping than only space, '+', '&', '=' and chars < 0x20
will be escaped to avoid problems with older netscape browsers.
- Added missing documentation for req_rec parameter of the Execute
function. Spotted by Eric Cholet.
- Send correct http header for error page, spotted by Steve Willer
- Added optUndefToEmptyString which will cause Embperl to treat non
existent values in %fdat as empty string in input tags, as suggested
by Steve Willer.
Revision
293624 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 25 15:57:50 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 58739 byte(s)
Diff to
previous 293622
(
colored)
remove some compiler warnings
removed limit of 2048 bytes for get request
read all data on post request, not just 1024 bytes
Revision
293622 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 17 19:05:43 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 58519 byte(s)
Diff to
previous 293613
(
colored)
- Make sure all data is flushed to the logfile at the end of
each request
- Catch "die" within EMBPERL_INPUT/OUTPUT_FUNC and write error
message to the logfile
- Write error message of LWP::UserAgent in ProxyInput to logfile
if any
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.