Changeset 635
- Timestamp:
- 2007-10-06 19:59:48 (1 year ago)
- Files:
-
- trunk/chrome/content/dta/manager.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/chrome/content/dta/manager.js
r627 r635 621 621 if (header == 'etag') { 622 622 // strip off the "inode"-part apache and others produce, as mirrors/caches usually provide different/wrong numbers here :p 623 this[header] = aValue.replace(/^[a-f\d]+-([a-f\d]+)-([a-f\d]+)$/, '$1-$2').replace(/^([a-f\d]+):[a-f\d]{1,6}$/, '$1'); 623 this[header] = aValue 624 .replace(/^(?:W\/)?"(.+)"$/, '$1') 625 .replace(/^[a-f\d]+-([a-f\d]+)-([a-f\d]+)$/, '$1-$2') 626 .replace(/^([a-f\d]+):[a-f\d]{1,6}$/, '$1'); 624 627 } 625 628 else if (header in this.cmpKeys) {
