Overview
| Artifact ID: | 7ebb9f1dd8b0c327dbe925e3f3439f8b662b9871 |
|---|---|
| Ticket: | 6cd35b3ca5b47cbd524787a9ea78809287504b0f
self referring links determined wrong in cgi mode |
| User & Date: | drh 2008-12-03 14:44:05 |
Changes
- Appended to comment:
<hr><i>drh added on 2008-12-03 14:44:05:</i><br> According to [http://www.ietf.org/rfc/rfc3875 | rfc3876], REQUEST_URI is not a part of the Common Gateway Interface (CGI) specification. SCRIPT_NAME is what should be used to create self-referential hyperlinks. Everything works correctly as currently implemented. You are asking for a change that will make URLs more cosmetically appealing when using fossil under a particular configuration of Apache. Cosmetics are nice. But everything works now. And to implement this change would probably break other configurations. I think it is much better to confirm to standards and work across all platforms than to try to make the URLs a little shorter when using certain configurations of Apache. Apache is widely used, but it is not universal. The main fossil website is an example of a website that does not use Apache. www.fossil-scm.org uses a single-file webserver dispatched using inetd and called [http://www.sqlite.org/docsrc/finfo?name=misc/althttpd.c | althttpd].
- resolution changed to: "Rejected"
- status changed to: "Closed"