[opencms-dev] Anchor Tag workaround

Ivan Biddles ivanb at scientology.net
Mon Jan 27 19:46:52 CET 2003


Hi Alex,

Here is what I did to work around the anchor tag problem. I hope this is
helpful.

BTW, on another subject, I promised you some feedback on MySQL 4.x and
OpenCms. After I found that most of my problems were due to too small a
Java memory heap size, I have had no problems with MySQL 4.x at all. I
will keep you posted.

Best wishes,
              Ivan


-----Original Message-----
From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Alexander
Kandzior
Sent: Monday, January 27, 2003 01:28
To: opencms-dev at www.opencms.org
Subject: RE: [opencms-dev] grey flag "belongs to project" confuses me...

Ivan,

please provide the source code four your fix if possible. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org 
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Ivan Biddles
> Sent: Monday, January 27, 2003 12:05 AM
> To: opencms-dev at www.opencms.org
> Subject: RE: [opencms-dev] grey flag "belongs to project" 
> confuses me...
> 
> 
> Hi Alex,
> 
> I think I have the answer to my Bugzilla report no 51 about 
> anchor tags coming up as broken links.
> 
> The problem is that an internal anchor has a "#" in it, but 
> the "#" is used as the delimiter in the Perl5 regular 
> expression substitution statements, so the substitution gets 
> confused and ends up returning an empty string.
> 
> I have a temporary fix on my system by:
> 
> 1. Changing the "#" into three underscores ("___", something 
> I wouldn't expect to find in a link) before the substitution occurs.
> 
> 2. Changing the three underscores back to "#" after the substitution.
> 
> I'm sure you can come up with something more elegant, but at 
> least this should be some help.
> 
> Best wishes,
>              Ivan
> 
> P.S. I will reproduce the above in the Bugzilla additional 
> comments, when I remember my password ;-)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OpenCmsMod_AnchorTagFix.txt
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030127/484756f3/attachment.txt>


More information about the opencms-dev mailing list