Article delegate-en/928 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] DeleGate 6.1.18+ and MOUNT URL rewrites...
21 Nov 2000 10:07:23 GMT "Jari Ahonen" <>
Progress Software

Not sure if this subject has been beaten to death already
but I think I have found a URL rewrite misbehaviour on
DeleGate 6.1.X. I think this is what was on the 6.1.18
fixed bugs list but IMHO it still does not work quite right.

The issue is about URLs with query string (Such as ?query=...)
being rewritten incorrectly. The 6.1.18 changes list says this:
'HTTP: fixed MOUNT for "./" with base-URL containing "?query"'.
Indeed the behaviour is different in 17 and 18 as demonstrated

Server is started with just -f -P8000 SERVER=http://host/

The mail.html document contains this:
<script src="../util.js"></script>
<script src="i18n.js"></script>
<script src="../main.js"></script>

DeleGate 6.1.17
request GET /en/mail.html?sid=n35qp35su65uk0u95r...
Results to client
<script src="/en/util.js"></script>
<script src="i18n.js"></script>
<script src="/en/main.js"></script>

DeleGate 6.1.18
request GET /en/mail.html?sid=bb8u2p5tp08sehn0
Results to client
<script src="/en/mail.html/util.js"></script>
<script src="i18n.js"></script>
<script src="/en/mail.html/main.js"></script>

I think the correct behaviour would be to rewrite
the URLs into:
<script src="/util.js"></script>
<script src="i18n.js"></script>
<script src="/main.js"></script>

If I put "URICONV=mount,partial:+" in the configuration,
the URLs pass through as is and everything works fine.

- Jari

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]