[Lazarus] RE : TProcess, UTF8, Windows

Ludo Brands ludo.brands at free.fr
Mon Apr 16 10:45:32 CEST 2012


> >>>>>> When I go to 
> "http://svn.freepascal.org/svn/fpcdocs/trunk" it is 
> >>>>>> empty.
> >>> I just found out that active scripting is required for
> >>> this web page (I use the FireFox NoScript plugin).
> >>> Is there a reason for this?
> >> 
> >> You are wrong. No scripting is needed for this page.
> > Well, if I look at this page with FireFox with scripting disabled I 
> > see
> > nothing (white page).
> > If I allow scripting for "freepascal.org" I see directory structure 
> > (beginning with "trunk").
> > So it seems to make a difference whether I have scripting 
> enabled or not.
> 
> I suspect that the fact that the server returns XML, not 
> HTML, confuses the NoScript plugin.
> 
> If you look at the page source, you'll see there is 
> absolutely no Javascript present. Just XML. And it is not 
> shown in my browser either although I do not have the NoScript plugin.

NoScript blocks XSLT by default. You can change this in the NoScript Options
/ Advanced / Untrusted panel,  uncheck 'Forbid XSLT'.
"http://svn.freepascal.org/svn/fpcdocs/trunk" uses XSLT to format the
output. Start of http://svn.freepascal.org/svnindex.xsl called: 

<!-- A sample XML transformation style sheet for displaying the Subversion
  directory listing that is generated by mod_dav_svn when the "SVNIndexXSLT"
  directive is used. -->

Ludo





More information about the Lazarus mailing list