diff --git a/ChangeLog b/ChangeLog index df290475..7edac7ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Apr 14 23:44:58 CEST 2002 Daniel Veillard + + * HTMLtree.c uri.c: fixing bug #78662 i.e. add proper + escaping of URI when saving HTML files. + * result/HTML/*: this impacted some tests + Sun Apr 14 14:55:15 CEST 2002 Daniel Veillard * configure.in: trying to fix #77441 diff --git a/HTMLtree.c b/HTMLtree.c index e02465dd..67b91cb6 100644 --- a/HTMLtree.c +++ b/HTMLtree.c @@ -26,6 +26,7 @@ #include #include #include +#include /************************************************************************ * * @@ -349,7 +350,23 @@ htmlAttrDump(xmlBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur) { value = xmlNodeListGetString(doc, cur->children, 0); if (value) { xmlBufferWriteChar(buf, "="); - xmlBufferWriteQuotedString(buf, value); + if ((xmlStrEqual(cur->name, BAD_CAST "href")) || + (xmlStrEqual(cur->name, BAD_CAST "src"))) { + xmlChar *escaped; + xmlChar *tmp = value; + + while (IS_BLANK(*tmp)) tmp++; + + escaped = xmlURIEscapeStr(tmp, BAD_CAST"@/:=?;#%"); + if (escaped != NULL) { + xmlBufferWriteQuotedString(buf, escaped); + xmlFree(escaped); + } else { + xmlBufferWriteQuotedString(buf, value); + } + } else { + xmlBufferWriteQuotedString(buf, value); + } xmlFree(value); } else { xmlBufferWriteChar(buf, "=\"\""); @@ -820,7 +837,23 @@ htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur, value = xmlNodeListGetString(doc, cur->children, 0); if (value) { xmlOutputBufferWriteString(buf, "="); - xmlBufferWriteQuotedString(buf->buffer, value); + if ((xmlStrEqual(cur->name, BAD_CAST "href")) || + (xmlStrEqual(cur->name, BAD_CAST "src"))) { + xmlChar *escaped; + xmlChar *tmp = value; + + while (IS_BLANK(*tmp)) tmp++; + + escaped = xmlURIEscapeStr(tmp, BAD_CAST"@/:=?;#%"); + if (escaped != NULL) { + xmlBufferWriteQuotedString(buf->buffer, escaped); + xmlFree(escaped); + } else { + xmlBufferWriteQuotedString(buf->buffer, value); + } + } else { + xmlBufferWriteQuotedString(buf->buffer, value); + } xmlFree(value); } else { xmlOutputBufferWriteString(buf, "=\"\""); diff --git a/result/HTML/doc3.htm b/result/HTML/doc3.htm index f5c674fe..80bbb056 100644 --- a/result/HTML/doc3.htm +++ b/result/HTML/doc3.htm @@ -39,7 +39,7 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, -
+

@@ -88,22 +88,22 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0,

-
Headlines
Chat - with ABIT - 8:09PM PDT
Fixed - wallpaper - 11:47PM PDT
Seti - update - 10:40PM PDT
Judge - gives Napster the Boot!! - 2:10PM PDT
Ram +
Headlines
Chat + with ABIT - 8:09PM PDT
Fixed + wallpaper - 11:47PM PDT
Seti + update - 10:40PM PDT
Judge + gives Napster the Boot!! - 2:10PM PDT
Ram Sinks.. more cooling for small places. - 8:54AM - PDT
is - it [H]ard? - 9:19PM PDT
WiLd - CaSe!! - 1:40PM PDT
What - the heck is a Peltier?!?! - 10:05AM PDT
HELLO - EVERYONE!!! - 10:03PM PDT
BP6 + PDT
is + it [H]ard? - 9:19PM PDT
WiLd + CaSe!! - 1:40PM PDT
What + the heck is a Peltier?!?! - 10:05AM PDT
HELLO + EVERYONE!!! - 10:03PM PDT
BP6 Q3 server up and running.. - 2:06AM PDT

Sunday, July 30, 2000

Chat with ABIT
Posted by Holodeck2 @ 8:09PM - PDT  0 comments + PDT  0 comments  | top
I’m slacking a little. All game no work makes Holodeck2 a happy boy :-)

Wallpaper update: I got off my lazy ass and redid the 1280x1024 wall paper, now it has the 2 @@ -115,7 +115,7 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, July 27, 2000

Fixed wallpaper
Posted by Holodeck2 @ 11:47PM - PDT  5 comments + PDT  5 comments  | top
Get them now!!
This is a fixed bp6 wallpaper. In all the popular flavors, err... resolutions.

It's still the Intels Inside one with a spelling @@ -131,7 +131,7 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, Holodeck2,
[H]ard at work on the Brand Spanking New Wallpaper.



Seti update
Posted by Holodeck2 @ 10:40PM - PDT  5 comments + PDT  5 comments  | top

You like the pic?

Bp6 User Group Update:
Completed 61531 units!!
#168 on Top 200 All Groups (Going to pass CLRC in @@ -140,7 +140,7 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, a little slower).
Good job everyone!!

Check this page at least once a day for new stuff :-)


Judge gives Napster the Boot!!
Posted by Holodeck2 @ 2:10PM - PDT  0 comments + PDT  0 comments  | top
Good afternoon for everyone living in EST. I was going to post today morning but I didn't. Here's my story:
I woke up and thought about posting something but I @@ -152,14 +152,14 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, cry. and now I'm here :-)

Judge shuts Napster down


Check out the Goofy guy in the suit
He's Sean Fanning, founder of Napster.

Got news?? mailto:Holodeck2@home.com


Ram Sinks.. more cooling for small - places.
Posted by tim @ 8:54AM PDT  0 comments + places.
Posted by tim @ 8:54AM PDT  0 comments  | top
Need some cooling for your Videocard memory to get a little extra overclockability and FPS? Overclockers Hiedout Ram Sinks They just notified me of their new design.


Wednesday, July 26, 2000

is it [H]ard?
Posted by Holodeck2 @ 9:19PM - PDT  0 comments + PDT  0 comments  | top
Big heatsinks are good, very good. The bigger the better.
You can never can have a too big of heatsink on a small chip (CPU, GPU, CHIPSET, etc)


My overclocked @@ -167,12 +167,12 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, watercooling next up :-)
(if you pry off the heatsink you void the warranty )

it was originally posted on [H]ardOCP
I’m not only a BP6er but also a [H]ardOCPer


WiLd CaSe!!
Posted by Holodeck2 @ 1:40PM - PDT  8 comments + PDT  8 comments  | top
Now this person really knows how to keep his case cool!!
Addin an 18" Fan!! WOW!!


Click to go to his site.


What the heck is a Peltier?!?!
Posted by Holodeck2 @ 10:05AM - PDT  6 comments + PDT  6 comments  | top
This is for all you people who wanted to know what a peltier is.

The quest fo the Perfect Peltier

Thanks to @@ -205,14 +205,14 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, or 2 frags you, it’s probably me. ;-)


Monday, July 24, 2000

BP6 Q3 server up and - running..
Posted by tim @ 2:06AM PDT  3 comments + running..
Posted by tim @ 2:06AM PDT  3 comments  | top
Setup a Q3 server for anyone wanting to practice in preparation for Quakecon.. Connect to bp6.dyndns.org default port. (SERVER: BP6 system, 256 MB ram, celeron 600 on a T3 connection)... Will be moved to another BP6 server eventually. This is only a temporary test of the system and net connection.
(BTW- there are a few bot's running around in there..)


BIOS Savior to the - rescue....
Posted by tim @ 12:53AM PDT  2 comments + rescue....
Posted by tim @ 12:53AM PDT  2 comments  | top
Do you sweat during the BIOS flashing procedure on your BP6 mobo? If so then this little gadget maybe worth a first look. It's called the "RD1 BIOS Savior" and it @@ -222,17 +222,17 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, event of a bad flash, just flip a switch on the RDI and boot up your system, and flash again. This is also good as a failsafe in case you don't believe in Virus Protecting your computer. (Thanks to Fred for - link)
Manufacturers Brochure (PDF Format)
Another info page
Available for about $20



Monday, + link)
Manufacturers Brochure (PDF Format)
Another info page
Available for about $20



Monday, July 17, 2000

How To Overclock
Posted by DareDevil @ 4:17PM - PDT  3 comments + PDT  3 comments  | top
For those of you who are new to overclocking, this guide will explain to you how to overclock, and what some of the terms are. Like 'FSB' (what the heck is that!? :0))

How To Overclock


The Cardcooler XT
Posted by DareDevil @ 4:11PM - PDT  1 comments + PDT  1 comments  | top
Wow! I am impressed! Nevermind keeping the CPU's cool... Keep your whole board cool!

Even if your not overclocking your system (or planning on it), this unit will @@ -241,11 +241,11 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, cooling unit as a backup to essential cooling fans in your system.

Check this out!

http://www.brokenpixel.com/articles/coolerXT/cardcoolerXT_1.shtml


'Nerd Inside'
Posted by DareDevil @ 11:53AM - PDT  1 comments + PDT  1 comments  | top
We all need to have some fun sometimes! Check out this little web site that sells 'nerd' clothing ;) (I like the bibs in the Junior Hackerz section) :-Þ



Dual PSU Wiring diagram... (preview to - Part 1 Watercooling Project)
Posted by tim @ 12:43AM PDT  11 comments + Part 1 Watercooling Project)

Posted by tim @ 12:43AM PDT  11 comments  | top
When is comes to overclocking your system, cooling plays a big role. Powering all of those fans in your system can cause quite a strain on your PSU (Power Supply Unit). @@ -259,11 +259,11 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, dangerous and is not recommended unless you know what you are doing.

View Diagram 1 here.
View Diagram 2 here.

I used Tap-In Squeeze Connectors and 22 guage wire to connect the wires. You can get them at Radio Shack - Part# 64-3053 or click here.


Sunday, + Part# 64-3053 or click here.

Sunday, July 16, 2000

RAM Overclocking? Hmmmmm.
Posted by DareDevil @ 9:57AM - PDT  3 comments + PDT  3 comments  | top
I know we're pretty big overclockers here at BP6.Com so, this is a post of choice ;-) I've seen the question in the message boards, 'why can't I overclock any higher?' @@ -281,7 +281,7 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, came out on top? Read the review to find out....

Cooked RAM... Yummie

The ÐÐ.


CPU Guide
Posted by DareDevil @ 9:17AM - PDT  0 comments + PDT  0 comments  | top
A follow up on the 'Weekly CPU Prices', this guide will help you determine which cpu is best for you (and your board ;-)). Sent to me by Spanky, here's the @@ -289,11 +289,11 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, July 15, 2000

Weekly CPU Prices
Posted by DareDevil @ 11:29AM - PDT  2 comments + PDT  2 comments  | top
Wow, found this very useful! Wanting to buy a new CPU? Check out this detailed price list!

Click Here.

Thanks Sharky Extreme!


Fast Wallpapers
Posted by DareDevil @ 9:51AM - PDT  0 comments + PDT  0 comments  | top
FAST-MHz has released some wallpapers! Click here to view them. They come in sizes 800x600 1024x768 and 1152x864. If you have your desktop set at a @@ -309,13 +309,13 @@ eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, July 14, 2000

Hey There!
Posted by DareDevil @ 5:05PM - PDT  7 comments + PDT  7 comments  | top
Hey guys, just wanted to introduce myself, some of you may have already met me on the BP6.com board. I'll be posting up news from time to time now so, if you'd like, you may send me some news to be posted if you find any ( we don't want to flood Tim ;-) ).

My e-mail address is killz@i82hq.com

Ciao for - now.

The ÐÐ.


+ now.

The ÐÐ.

diff --git a/result/HTML/wired.html b/result/HTML/wired.html index b094ed08..cadfe3dd 100644 --- a/result/HTML/wired.html +++ b/result/HTML/wired.html @@ -65,7 +65,7 @@ -True to the Original +True to the Original @@ -73,8 +73,8 @@ - - + + @@ -103,10 +103,10 @@

   updated 10:15 a.m.  15.Oct.99.PDT
- - - - + + + + @@ -133,7 +133,7 @@ GetSmart's MortgageFinder - + diff --git a/uri.c b/uri.c index 6e43fc9c..27a6991b 100644 --- a/uri.c +++ b/uri.c @@ -898,7 +898,7 @@ xmlURIEscapeStr(const xmlChar *str, const xmlChar *list) { ch = *in; - if ( (!IS_UNRESERVED(ch)) && (!xmlStrchr(list, ch)) ) { + if ((ch != '@') && (!IS_UNRESERVED(ch)) && (!xmlStrchr(list, ch))) { unsigned char val; ret[out++] = '%'; val = ch >> 4;

SECTIONS
Business
Culture
Technology
Politics
Business
Culture
Technology
Politics
WIRE SERVICE NEWS
Top Headlines
Sports
Today's Summary
Wired Index | All Indexes
Wired Index | All Indexes
Portfolios
FIND A BOOK
@@ -176,7 +176,7 @@ @@ -197,8 +197,8 @@ Issue 7.11
-
Search
Shopping

- Wired News staff

Contact us


Wired News delivered
by PalmPilot,
Outlook Express,
In-Box Direct,
-or PointCast

+ Wired News staff

Contact us

Wired News delivered
by PalmPilot,
Outlook Express,
In-Box Direct,
+or PointCast

@@ -207,7 +207,7 @@ or PointCast
Nomad's Land

Homeless, but ID'd, in Seattle
8:15 a.m. The city council approves a plan to track the homeless by a numbering system, saying it'll improve services. The implications worry privacy advocates, naturally. By Craig Bicknell.
in Politics
+
Nomad's Land

Homeless, but ID'd, in Seattle
8:15 a.m. The city council approves a plan to track the homeless by a numbering system, saying it'll improve services. The implications worry privacy advocates, naturally. By Craig Bicknell.
in Politics
@@ -215,7 +215,7 @@ or PointCast
@@ -225,9 +225,7 @@ or PointCast
@@ -241,13 +239,13 @@ wired.com&BANNER=Sprint" style="text-decoration:none"> Contruction workers in Berlin opened an old wound in the German psyche this week when they accidentally stumbled across Adolf Hitler's bunker while excavating near the Brandenburg Gate. The bunker, just south of the Gate, was where Hitler and his closest associates barricaded themselves as the Red Army approached Berlin in the waning days of World War II. It is also where the Führer and his bride, Eva Braun, committed suicide rather than fall into the hands of the Russians. Although the bunker's location has never been a mystery, it has been sealed off since the end of the war to keep neo-Nazis from turning it into a shrine.

-
  • More from Lycos +
  • More from Lycos


  •   HITS & MISC.
    - 

    Other Top Stories

    Wall Street Keeps Reeling
    10:15 a.m. The Dow and Nasdaq suffer sizeable losses during the first half of Friday trading. Why? Wholesale prices are the highest this decade, and Greenspan is concerned about stock prices.
    in Reuters

    The Market's Madness
    9:10 a.m. The bulls and the bears are in the midst of a Battle Royale, and all this turbulence is not a healthy thing. So say the experts.
    in Reuters

    'Want a Loan? What's Your Race?'
    3:00 a.m. The Federal Reserve is in the middle of changing banking regulations to let banks collect data on the race, sex, religion, and national origin of their customers. By Declan McCullagh.
    in Politics

    Music Regs: A Bagful of Noise
    3:00 a.m. The struggle to come up with a digital music standard that would minimize download piracy is pushing right up against the holiday gift-giving season. By Jennifer Sullivan.
    in Business

    Can't Beat 'Em? Green 'Em
    3:00 a.m. High-tech companies are notoriously environmentally unfriendly, and a growing number of "Greenies" are trying to change things from the inside ... with varying results. By Chris Gaither.
    in Technology

    Y2K Cloud Over MS Office
    3:00 a.m. Windows NT sales remain strong, but corporate clients are wary of upgrading to MS Office 2000. Analysts say that means strong, but not stunning, Microsoft earnings.
    in Business

    Med-Tech
    Biochips for Custom Chemo
    3:00 a.m. Different cancer patients need different medicine, but doctors can rarely determine the best match. New biochip technology promises chemotherapy tailored to a tumor's genetic make-up. By Kristen Philipkoski.
    in Technology

    High Stakes in Priceline Suit
    3:00 a.m. It's not just another round of Redmond-bashing. A Priceline.com lawsuit against Microsoft's Expedia.com may have a big impact on how Net companies protect their business models. By Joanna Glasner.
    in Business

    Biodiversity Merges Online
    3:00 a.m. The far-flung databases on global biodiversity get together to form one monster database. Soon the red-eyed tree frog will be eyeing those Swedish lingonberries. From the Environment News Service.
    in Technology


    Elsewhere Today

    FCC: Hands-Off on Broadband
    The Industry Standard

    White House Lashes Out on Treaty
    Lycos

    Steve Jobs at 44
    Time

    Computers May Run on Gas
    ZDNN

    Much Is Free in the Wired World
    The New York Times (Registration Required)

    Melissa: I'm Baaaack
    USA Today

    Domain Owners Surrender Privacy
    MSNBC

    Dividing to Conquer in VC Game
    The Washington Post

    The Red Hat Diaries
    Salon

    Screensaver to Predict Climate
    BBC News

    + 

    Other Top Stories

    Wall Street Keeps Reeling
    10:15 a.m. The Dow and Nasdaq suffer sizeable losses during the first half of Friday trading. Why? Wholesale prices are the highest this decade, and Greenspan is concerned about stock prices.
    in Reuters

    The Market's Madness
    9:10 a.m. The bulls and the bears are in the midst of a Battle Royale, and all this turbulence is not a healthy thing. So say the experts.
    in Reuters

    'Want a Loan? What's Your Race?'
    3:00 a.m. The Federal Reserve is in the middle of changing banking regulations to let banks collect data on the race, sex, religion, and national origin of their customers. By Declan McCullagh.
    in Politics

    Music Regs: A Bagful of Noise
    3:00 a.m. The struggle to come up with a digital music standard that would minimize download piracy is pushing right up against the holiday gift-giving season. By Jennifer Sullivan.
    in Business

    Can't Beat 'Em? Green 'Em
    3:00 a.m. High-tech companies are notoriously environmentally unfriendly, and a growing number of "Greenies" are trying to change things from the inside ... with varying results. By Chris Gaither.
    in Technology

    Y2K Cloud Over MS Office
    3:00 a.m. Windows NT sales remain strong, but corporate clients are wary of upgrading to MS Office 2000. Analysts say that means strong, but not stunning, Microsoft earnings.
    in Business

    Med-Tech
    Biochips for Custom Chemo
    3:00 a.m. Different cancer patients need different medicine, but doctors can rarely determine the best match. New biochip technology promises chemotherapy tailored to a tumor's genetic make-up. By Kristen Philipkoski.
    in Technology

    High Stakes in Priceline Suit
    3:00 a.m. It's not just another round of Redmond-bashing. A Priceline.com lawsuit against Microsoft's Expedia.com may have a big impact on how Net companies protect their business models. By Joanna Glasner.
    in Business

    Biodiversity Merges Online
    3:00 a.m. The far-flung databases on global biodiversity get together to form one monster database. Soon the red-eyed tree frog will be eyeing those Swedish lingonberries. From the Environment News Service.
    in Technology


    Elsewhere Today

    FCC: Hands-Off on Broadband
    The Industry Standard

    White House Lashes Out on Treaty
    Lycos

    Steve Jobs at 44
    Time

    Computers May Run on Gas
    ZDNN

    Much Is Free in the Wired World
    The New York Times (Registration Required)

    Melissa: I'm Baaaack
    USA Today

    Domain Owners Surrender Privacy
    MSNBC

    Dividing to Conquer in VC Game
    The Washington Post

    The Red Hat Diaries
    Salon

    Screensaver to Predict Climate
    BBC News