Log of /perl/embperl/trunk/test.pl
Parent Directory
|
Revision Log
Revision
498924 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 23 05:31:44 2007 UTC
(2 years, 10 months ago)
by
richter
File length: 90410 byte(s)
Diff to
previous 394067
(
colored)
- Fixed segfault that might occurs when an value of an input
attribute is removed. Spotted by Andrew Sitnikov.
Revision
331995 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 9 08:11:00 2005 UTC
(4 years ago)
by
richter
File length: 90339 byte(s)
Diff to
previous 331953
(
colored)
- Form data that is send to Embperl and put into %fdat
get now Perl's internal UTF8 flags set, in case
the data posted contains a valid UTF8 string.
This can be disabled with the option
optFormDataNoUtf8.
Revision
331953 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 9 05:11:19 2005 UTC
(4 years ago)
by
richter
File length: 90251 byte(s)
Diff to
previous 330373
(
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
330373 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 2 22:00:14 2005 UTC
(4 years ago)
by
richter
File length: 90216 byte(s)
Diff to
previous 294765
(
colored)
- Added Module Embperl::Inline, which allows to embed
Embperl code in an ordinary Perl module. This makes
is easy to install system wide libraries, which need
to contain Embperl code/markup. See perldoc Embperl::Inline
- [$ sub $] now can takes arguments and inital code like:
[$ sub foo ($self, $a, $b) my $c = $self -> {bar} $]
- Embperl subroutines are now called in array context, to
allow to return multiple return values.
- Added validate type TimeValue, which is a numeric value
followed by s, m, h, d or w.
- Added validate type PosInteger, which is a positiv integer
value
- Fixed Segfault that could occur when a Embperl sub does
not contain anything.
Revision
294749 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 6 21:47:38 2005 UTC
(4 years, 3 months ago)
by
richter
File length: 89160 byte(s)
Diff to
previous 294745
(
colored)
- Fixed unresolved symbol when compiling under SuSE 9.3 (because SuSE
compiles Apache 2 in maintainer mode)
- Fixed strange output when Perl code inside of [$ sub $] returns
before any output.
- Documentation cleanup
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
294740 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 14 13:41:45 2005 UTC
(4 years, 8 months ago)
by
richter
File length: 89107 byte(s)
Diff to
previous 294738
(
colored)
- Find apr.h if it is not in same directory as httpd.h in
Makefile.PL. (Necessary for RedHat)
- epoerrdoc2 tests
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: 88730 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: 88592 byte(s)
Diff to
previous 294730
(
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
294730 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 27 20:05:48 2005 UTC
(4 years, 8 months ago)
by
richter
File length: 88526 byte(s)
Diff to
previous 294722
(
colored)
- Reimplemented SetupSession, CleanupSession and SetSessionCookie
which can be used to access Embperl session data from outside,
for example from mod_perl Authentication handler.
Revision
294721 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 15 19:53:59 2005 UTC
(4 years, 10 months ago)
by
richter
File length: 88553 byte(s)
Diff to
previous 294720
(
colored)
- Handle warnings the same way under Embperl and Embperl::Object, so they
are in both cases log to embperl.log and the Apache error log and show
up on the error page. Reported by Dirk Melchers.
- Report line number and file name in unstructures jump error messages.
Requested by Michael Smith.
- Fix sigsegv under solaris cause by NULL point in debug output.
Revision
294717 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 4 06:19:14 2004 UTC
(5 years ago)
by
richter
File length: 87294 byte(s)
Diff to
previous 294709
(
colored)
- Fix html input tag value set, when %fdat value is 0. Reported
by Torsten Luettgert.
- Adapt test for new output flush
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: 83737 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: 67601 byte(s)
Diff to
previous 294214
(
colored)
- Add undef to %idat for select tag with nothing selected if
optAllFormdata is set.
- source sync <-> Embperl 2
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: 63101 byte(s)
Diff to
previous 294163
(
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: 62971 byte(s)
Diff to
previous 294121
(
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
294082 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 27 04:26:45 2001 UTC
(8 years, 8 months ago)
by
richter
File length: 57712 byte(s)
Diff to
previous 294071
(
colored)
- Catch exceptions inside of Embperl.pm and correctly cleanup the
request. This avoids problems in further request in case anything
was really going wrong.
- If the base template in an EmbperlObject request is requested
directly the Execute ('*') does nothing, to avoid
endless recursion.
Revision
294050 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 7 08:21:28 2001 UTC
(8 years, 9 months ago)
by
richter
File length: 57426 byte(s)
Diff to
previous 294048
(
colored)
- Added new Introduction to EmbperlObject written by
Neil Gunton. See perldoc IntroEmbperlObject
- Added new Tips and Tricks pod written by
Neil Gunton. See perldoc TipsAndTricks. Anybody is invited
to send me their own Tips and Tricks!
- Fixed a problem that Embperl are in a wired state after an file upload
has been interrupted. Spotted by Dirk Lutzebaeck.
- Fixed a problem set @ISA is not correctly setup in case a file is
compiled in the same package as the base file of EmbperlObject.
Spotted by Neil Gunton.
- Fixed problem with including ../foo.html in EmbperlObject. Spotted
by Neil Gunton.
- Added warning if @ISA is not correctly setup/corrupted.
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: 57299 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: 56916 byte(s)
Diff to
previous 294046
(
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
294044 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Dec 23 20:13:28 2000 UTC
(8 years, 11 months ago)
by
richter
File length: 56644 byte(s)
Diff to
previous 294007
(
colored)
- Added object and isa parameters to Execute, which allows to get an
object reference for a certain file and set the Perl inherence
hierachive. Ideas from Neil Gunton and Agnus Lees.
Revision
294007 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 3 13:13:44 2000 UTC
(8 years, 11 months ago)
by
richter
File length: 56509 byte(s)
Diff to
previous 294005
(
colored)
- Fixed a problem that Perl generated an error when $req_rec and [$ var $] was
used. Spotted by Michael Stevens.
Revision
294001 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 15 08:15:42 2000 UTC
(9 years ago)
by
richter
File length: 55745 byte(s)
Diff to
previous 293989
(
colored)
- Carridge Returns are only removed for Perl 5.004. This makes using of
HERE documents possible on Perl 5.005+, even if the documents has CRLF
as lineendings.
Revision
293986 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 9 20:25:24 2000 UTC
(9 years ago)
by
richter
File length: 46174 byte(s)
Diff to
previous 293984
(
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: 43933 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: 49981 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: 49850 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: 37883 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: 37854 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
293916 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 24 05:43:41 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 37710 byte(s)
Diff to
previous 293915
(
colored)
- Changed EmbperlObject search order:
* If EMBPERL_OBJECT_STOPDIR is set, this directory is taken as
the last directory in the normal search path, instead of the
directory where the base template (EMBPERL_OBJECT_BASE) is found.
* EMBPERL_OBJECT_ADDPATH is _always_ added to the search path
- Added Test for pnotes ('EMBPERL_ERRORS')
Revision
293915 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 21 04:22:50 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 37585 byte(s)
Diff to
previous 293912
(
colored)
- Fixed a problem with importing files that contains foreach and
do until loops, which may caused a syntax error or endless
loop. Spotted by Steffen Geschke.
Revision
293912 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 20 17:50:13 2000 UTC
(9 years, 3 months ago)
by
richter
File length: 37553 byte(s)
Diff to
previous 293910
(
colored)
- make Embperl compile and run with threaded Perl 5.6. With help
from Jason Bodnar. NOTE: That doesn't mean that Embperl is
threadsafe!
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: 37366 byte(s)
Diff to
previous 293909
(
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
293905 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 17 05:16:28 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 37254 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: 35934 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: 35554 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
293900 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 7 21:56:01 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 35438 byte(s)
Diff to
previous 293804
(
colored)
- If a requested file is not found when using EmbperlObject as handler,
the file given by C<EMBPERL_OBJECT_FALLBACK> is displayed instead.
If C<EMBPERL_OBJECT_FALLBACK> isn't set a staus 404, NOT_FOUND is
returned as usual.
- "perl Makefile.PL debug" will build debugging information for
gdb/ms-vc++ into Embperl library.
- test.pl can take a bunch of new options for debugging Embperl itself.
See make test TESTARGS="--help".
- Embperl 1.x and 2.x share now the same Makefile.PL and test.pl
- Added new debug flag dbgObjectSerach which logs the EmbperlObjects
work when searching the correct file.
Revision
293804 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 17 21:03:19 2000 UTC
(9 years, 7 months ago)
by
richter
File length: 28409 byte(s)
Diff to
previous 293797
(
colored)
- Rearrange Patch from Randy Kobes that makes Embperl compile with
Apache 1.3.12 and Perl 5.6 on Win32.
- Removed some -w warnings form EmbperlObject
- Added tests for EmbperlObject
Revision
293797 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 29 04:47:08 2000 UTC
(9 years, 8 months ago)
by
richter
File length: 28100 byte(s)
Diff to
previous 293796
(
colored)
- Makefile.PL warns if you build with a DSO mod_perl < 1.22
- make test checks that test files are readable by Apache.
- now all tests pass with perl 5.6
Revision
293795 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 28 19:14:12 2000 UTC
(9 years, 8 months ago)
by
richter
File length: 27344 byte(s)
Diff to
previous 293764
(
colored)
- Fixed SIGSEGV which occurs in cleanup with Perl 5.6. Spotted by
Aaron Johnson.
- Changed make test so it works correctly with new error messages of
Perl 5.6.
Revision
293756 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 2 19:30:05 1999 UTC
(10 years ago)
by
richter
File length: 27324 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: 26647 byte(s)
Diff to
previous 293746
(
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
293746 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 13 05:41:46 1999 UTC
(10 years, 1 month ago)
by
richter
File length: 26645 byte(s)
Diff to
previous 293745
(
colored)
- Added the Status: header to embpcgi.pl to let Apache return
the correct status line. Patch from Jason Holt.
- Add epchar.c.iso-lation.c to faq
- add embperl cvs web browse location to cvs
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: 26612 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: 26611 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, 2 months ago)
by
richter
File length: 26293 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: 26268 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: 26209 byte(s)
Diff to
previous 293735
(
colored)
- Fixed a problem that had occured with magic SVs (tied scalar)
as source for the Execute function. Spotted by Todd Eigenshink.
Revision
293735 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 10 05:05:34 1999 UTC
(10 years, 2 months ago)
by
richter
File length: 26151 byte(s)
Diff to
previous 293729
(
colored)
- Fixed a problem with loading Apache::Session 1.01, when
Apache::Session 0.17 is not installed. Spotted by Volker Hess.
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: 26074 byte(s)
Diff to
previous 293722
(
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
293722 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 17 03:46:16 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 26060 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: 25954 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: 25910 byte(s)
Diff to
previous 293714
(
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
293714 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 6 11:56:14 1999 UTC
(10 years, 4 months ago)
by
richter
File length: 25904 byte(s)
Diff to
previous 293704
(
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
293704 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 26 18:21:33 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 25756 byte(s)
Diff to
previous 293702
(
colored)
- Added the possibility to use recursive calls to Execute.
NOTE: You can create local variables via [* local $foo ; *]
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: 25734 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: 25668 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: 25730 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: 25641 byte(s)
Diff to
previous 293693
(
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
293693 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 22 05:18:38 1999 UTC
(10 years, 8 months ago)
by
richter
File length: 25603 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
293686 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 26 04:35:36 1999 UTC
(10 years, 10 months ago)
by
richter
File length: 25321 byte(s)
Diff to
previous 293684
(
colored)
- Fixed a path problem in Makefile.PL. Now pathes on Win32 Systems uses
blackslash instead of slash. Spotted by Randy Kobes.
- Win32 batch files will no longer contain path to perl after the #!,
so cgi tests passes on systems with 4DOS shell. Spotted by Randy Kobes.
Revision
293677 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 1 19:42:40 1999 UTC
(10 years, 10 months ago)
by
richter
File length: 25244 byte(s)
Diff to
previous 293676
(
colored)
- Added module Apache::Session::epDBI which is a subclass of
Apache::Session::DBI and corrects a problem with locking and
cares of serializing requests, so %mdat works correctly.
Please read IMPORTANT NOTE under Session Management in
Embperl.pod
Revision
293676 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 31 14:01:16 1998 UTC
(10 years, 10 months ago)
by
richter
File length: 25182 byte(s)
Diff to
previous 293674
(
colored)
- fixed a problem that $req_rec was sometimes invalid on the
second call to the same page causing Embperl to SIGSEGV.
With help of Todd Eigenshink.
- Cleanup the variable space inside Embperl pages. Before this
fix many of the internal my variables were visible to the
Embperl page. Spotted by Todd Eigenshink.
Revision
293674 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 28 21:32:34 1998 UTC
(10 years, 11 months ago)
by
richter
File length: 25176 byte(s)
Diff to
previous 293672
(
colored)
- Makefile.PL checks now for required modules and versions and
generates warnings if necessary
- Do not CLEAR %udat and %mdat in cleanup, so Apache::Session
will not warn anymore about unsupported CLEAR operation.
- Added tests for session management (%udat, %mdat)
Revision
293671 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 6 19:24:47 1998 UTC
(10 years, 11 months ago)
by
richter
File length: 23840 byte(s)
Diff to
previous 293668
(
colored)
- multiple form values with the same name are handled now
correctly (concated in a tab delimited string) when send
in a multipart/form-data (file-upload). Spotted by Dirk
Lutzebaeck.
- The dbgForm flag works now also for multipart/form-data
- a missing right *] will be reported as an error.
- [[* is correctly output as [* and not interpreted as a
starting of a perl block. Spotted by Dirk Lutzebaeck.
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: 23467 byte(s)
Diff to
previous 293643
(
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, 2 months ago)
by
richter
File length: 24121 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: 23811 byte(s)
Diff to
previous 293635
(
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
293629 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 28 15:44:47 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 19446 byte(s)
Diff to
previous 293627
(
colored)
- fix compile error under win nt
- add support for testing mod_perl build with USE_DSO
-> version 1.1.0
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: 19381 byte(s)
Diff to
previous 293613
(
colored)
- nesting of html and metacommand is independend now
- add test for post request
- add test for optUndefToEmptyValue
- fixed bug with optUndefToEmptyValue
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.