--- parser3/src/classes/image.C 2001/10/19 15:20:40 1.58 +++ parser3/src/classes/image.C 2001/10/29 13:04:45 1.60 @@ -4,7 +4,7 @@ Copyright(c) 2001 ArtLebedev Group(http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: image.C,v 1.58 2001/10/19 15:20:40 parser Exp $ + $Id: image.C,v 1.60 2001/10/29 13:04:45 paf Exp $ */ /* @@ -203,7 +203,7 @@ void measure_jpeg(Pool& pool, const Stri void measure(Pool& pool, const String& file_name, Measure_reader& reader, int& width, int& height) { - if(const char *cext=strrchr(file_name.cstr(), '.')) { + if(const char *cext=strrchr(file_name.cstr(String::UL_FILE_SPEC), '.')) { cext++; if(strcasecmp(cext, "GIF")==0) measure_gif(pool, &file_name, reader, width, height); @@ -318,7 +318,7 @@ static void _html(Request& r, const Stri 0/*no name*/, false/*don't intercept string*/); if(vattribs.is_defined()) // allow 'void' - if(attribs=vattribs.get_hash()) { + if(attribs=vattribs.get_hash(&method_name)) { Attrib_info attrib_info={&tag, 0}; attribs->for_each(append_attrib_pair, &attrib_info); } else