Log of /perl/embperl/trunk/epchar.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: 86434 byte(s)
Diff to
previous 294756
(
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
293902 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 8 17:09:41 2000 UTC
(9 years, 4 months ago)
by
richter
File length: 40483 byte(s)
Diff to
previous 293810
(
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: 40481 byte(s)
Diff to
previous 293801
(
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
293801 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 13 21:37:02 2000 UTC
(9 years, 7 months ago)
by
richter
File length: 38068 byte(s)
Diff to
previous 293755
(
colored)
- Escape ", ', < and > in URLs. Spotted by Roman Maeder.
- Added EMBPERL_SESSION_HANDLER_CLASS which allows you to overwrite
Embperl defaults session handling. Idea form Barrie Slaymaker.
Revision
293755 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 2 08:33:39 1999 UTC
(10 years ago)
by
richter
File length: 38061 byte(s)
Diff to
previous 293721
(
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
293721 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 10 13:37:05 1999 UTC
(10 years, 3 months ago)
by
richter
File length: 38059 byte(s)
Diff to
previous 293713
(
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
293697 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 20 09:25:04 1999 UTC
(10 years, 7 months ago)
by
richter
File length: 38056 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: 38008 byte(s)
Diff to
previous 293637
(
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
293637 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 25 21:51:52 1998 UTC
(11 years, 2 months ago)
by
richter
File length: 38008 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: 38157 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.