[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-e
Subject:    Re: disable file:// protocol?
From:       Subotai <subotai () geneversum ! de>
Date:       2002-07-12 13:18:10
[Download RAW message or body]

Hello Mr. Chitescu!

Sorry for my misbehaviour concerning the new thread! Wont happen again :-)

Thank you for the information on local protocols, but im apparently unable to 
figure out where to change these. Could you point me to a file? If the answer 
is a "RTFM" or "if you were a developer you'd understood" then please accept 
my apologies and ignore this posting.

Thank you in advance,
Subotai
> There is currently no way of making Konq/E report it as "Unknown protocol"
> but you can redefine it trough the local protocols (CVS version):
>
> [Local Protocols]
> file=/invalid/path
>
> or (better IMHO):
>
> file=!/path/to/error_script
>
> where error_script just generates an HTML error message:
>
> #!/bin/sh
>
> cat <<EOF
> <HTML><HEAD>
> <TITLE>Protocol not allowed</TITLE>
> </HEAD><BODY>
> <H1>Protocol not allowed</H1>
> For security reasons the &quot;file&quot; protocol is not allowed.
> </BODY></HTML>
> EOF
>
>
> P.S. Please create new posts for new questions, don't reply to an existing
> thread!

_______________________________________________
konq-e mailing list
konq-e@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-e
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic