Log of /perl/embperl/trunk/embperl.h
Parent Directory
|
Revision Log
Revision
331995 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 9 08:11:00 2005 UTC
(4 years ago)
by
richter
File length: 5668 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: 5624 byte(s)
Diff to
previous 294776
(
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: 5450 byte(s)
Diff to
previous 294756
(
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
294728 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 25 08:06:22 2005 UTC
(4 years, 9 months ago)
by
richter
File length: 5427 byte(s)
Diff to
previous 294655
(
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
294597 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 26 10:03:45 2002 UTC
(7 years ago)
by
richter
File length: 5359 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
294203 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 10 14:06:42 2001 UTC
(8 years, 3 months ago)
by
richter
File length: 4769 byte(s)
Diff to
previous 294170
(
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
294001 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 15 08:15:42 2000 UTC
(9 years ago)
by
richter
File length: 4613 byte(s)
Diff to
previous 293976
(
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
293976 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 7 11:28:39 2000 UTC
(9 years ago)
by
richter
File length: 4570 byte(s)
Diff to
previous 293952
(
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
293951 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 17 07:02:11 2000 UTC
(9 years, 1 month ago)
by
richter
File length: 4533 byte(s)
Diff to
previous 293923
(
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
293810 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 2 04:41:41 2000 UTC
(9 years, 6 months ago)
by
richter
File length: 4386 byte(s)
Diff to
previous 293743
(
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
293743 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 5 06:04:11 1999 UTC
(10 years, 1 month ago)
by
richter
File length: 4366 byte(s)
Diff to
previous 293724
(
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
293724 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 19 04:53:30 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 4348 byte(s)
Diff to
previous 293721
(
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
293721 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 10 13:37:05 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 4308 byte(s)
Diff to
previous 293714
(
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
293714 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 6 11:56:14 1999 UTC
(10 years, 4 months ago)
by
richter
File length: 4264 byte(s)
Diff to
previous 293703
(
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
293703 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon May 24 18:43:24 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 4184 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: 4142 byte(s)
Diff to
previous 293699
(
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
293699 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 20:13:54 1999 UTC
(10 years, 6 months ago)
by
richter
File length: 4126 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: 4077 byte(s)
Diff to
previous 293692
(
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
293689 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 15 12:28:41 1999 UTC
(10 years, 9 months ago)
by
richter
File length: 4015 byte(s)
Diff to
previous 293680
(
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
293680 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 6 21:13:59 1999 UTC
(10 years, 10 months ago)
by
richter
File length: 3979 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: 3943 byte(s)
Diff to
previous 293655
(
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
293637 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 25 21:51:52 1998 UTC
(11 years, 2 months ago)
by
richter
File length: 3862 byte(s)
Diff to
previous 293625
(
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
293625 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 26 19:19:57 1998 UTC
(11 years, 4 months ago)
by
richter
File length: 3900 byte(s)
Diff to
previous 293613
(
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.
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.