[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java
From: |
Benja Fallenstein |
Subject: |
[Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java |
Date: |
Wed, 21 May 2003 23:07:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030430 Debian/1.3-5 |
Hi,
Tuukka Hastrup wrote:
Log message:
fixed plain backlinks/ to only rewrite the html URNs on index page
...
- if(rewrite) s = base + s;
+ if(rewrite || id.getContentType().equals("text/html"))
+ s = base + s;
...
This is wrong: if the URL isn't "rewrite/...", then *nothing* should be
rewritten; *all* links on the front page should be "urn:..." if
"rewrite/..." isn't part of the URN.
We use
- rewrite/ in systems that do not understand urn:x-storm
- plain in systems that do understand urn:x-storm
We have two systems of the latter variety now: Netscape 4 (used this
earlier today) and KDE with the new kioslave installed.
In these systems, when using the gateway manually to get listing of
blocks, what we want is to be taken to a plain 'urn:...' URI when
clicking on one of the links. Tried in both Konqueror and Netscape 4,
it's very annoying when I'm taken to another http address on the gateway
instead.
This is independent of the backlinks: Backlinks in a URN-knowing system
are done by setting e.g. http://localhost:5555/backlinks/ as the proxy
address. So we still use URN but get backlinks inserted transparently.
Changing the above, but thought the ideas should be documented.
- Benja
- [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java,
Benja Fallenstein <=
- Re: [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/22
- Re: [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/22
- Re: [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/22
- Re: [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/22
- Re: [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/22
- Re: [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Benja Fallenstein, 2003/05/23
- Re: [Gzz] Re: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java, Tuukka Hastrup, 2003/05/23