l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social Gathering
Next Installfest:
TBA
Latest News:
Nov. 18: Officers elected
Page last updated:
2001 Dec 30 17:09
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat (IRC)
 Social Networks
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] links cookie and referrer patches...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] links cookie and referrer patches...



Hi all,

At tonight's meeting, I mentioned that there are patches for the links
text-only browser which both fix problems with redirects and add cookie
functionality.

Below are two posts to the links mailing list which detail how to apply
the patches to the latest source code release. You can obtain the latest
release (0.96) at http://links.sourceforge.net and the patches at
http://pasky.ji.cz/~pasky/dev/links

I found that when applying the referrer-0.96.patch and the
true-referer-0.96.patch, I had to specify patch -p1 < ..., but the cookie
patch works without the -p1 parameter. I sent an email Petr telling him,
and he was puzzled 'cause it works with -p1 on *his* system. Strange.

Don't forget to do "cd intl; ./syncintl" after applying the referrer
patches, otherwise links won't compile.

Later!

PS: I find the redirect from https to http to be broken. For example, for
those RedHat users out there, try logging into
http://www.redhat.com/network . The browser just keeps asking to follow a
redirect forever. When you press cancel, the site complains about improper
cookie support. Another example is http://mail.yahoo.com, and click the
"Secure" link. Does anyone out there know why this is happening?

-- 
R. Douglas Barbieri
doug@dooglio.net
www.dooglio.net
(Please don't laugh at my pathetic first try with the Gimp--go to my
site, and you'll know what I mean...)

---------- Forwarded message ----------
Date: Sat, 1 Sep 2001 20:31:18 +0200
From: pasky@pasky.ji.cz
To: Petr Kulhavy <brain@artax.karlin.mff.cuni.cz>,
  Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: links-list@appwatch.com
Subject: Re: [links-list] HTTP Referer - patch

Hello,
  because there are sites, which strictly relies on correct value of
HTTP_REFERER (that means page which referred you there), i decided to
extend the referer patch.
  This patch:
  - adds czech translation for all the options ;-)
  - adds REFERER_TRUE, which adds classic Referer functionality
  - fixes REFERER_SAME_URL so that it returns always an absolute path.
    It breaks nothing and some broken sites rely on it.

  This patch _needs_ the old referer patch to be applied before! You
need to do cd intl; ./syncintl; after applying the patch. If you will
get strange problems during compilation, go into Makefile, find config.status
and $(srcdir)/configure dependencies and remove $(CONFIG_STATUS_DEPENDENCIES)
respectively $(CONFIGURE_DEPENDENCIES) from there.
  This patch was done against links-lua, but should apply to classic links
with some fuzz as well hopefully.

  Both old and new patches may be found at http://pasky.ji.cz/~pasky/dev/links

  Good luck! :)

---
and
---
Date: Mon, 3 Sep 2001 07:25:43 +0200
From: Petr Baudis <pasky@pasky.ji.cz>
To: links-list@appwatch.com
Subject: [links-list] [PATCH] Cookies expiration and saving

Hello,

  I wrote two simple patches for cookies. First one adds support for
cookies
expiration, the second one adds support for saving of cookies (it needs
the first one to be applied previously).

  Both patches are available at http://pasky.ji.cz/~pasky/dev/links/

Regards,

--
Petr "Pasky" Baudis


LinkedIn
LUGOD Group on LinkedIn
facebook
LUGOD Group on Facebook

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Z-World
Who has helped LUGOD immensely!