Hi,

Its been a while since I have touched C, though this is a state machine  that I 
developped a few years ago that does the job for URIs:

http://ajmas.dyndns.org/misc/uriparser.c.txt

I generally consider it to be up for grabs and open for improvement. I'll see 
how this melds with lynx later in the week, since I don't have too much time at 
the moment. There may even be a way of applying a simpler modification.

A quick test shows that VMS pass, but the '/' would need to be removed fromt 
the path.

BTW how stringent should the parser be, with regards to malformed URL?

Andre


_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to