HTMLv: fix for URLs, need to test

git-svn-id: svn://kolibrios.org@4562 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2014-02-09 14:08:44 +00:00
parent 4c6ef451fb
commit e5380bd32b
3 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,6 @@ void TWebBrowser::Parse(dword bufpos, in_filesize){
bufpos++; bufpos++;
} }
strlwr(#tag); strlwr(#tag);
strlwr(#tagparam);
if (condition_text_active) && (condition_text_val != condition_href) if (condition_text_active) && (condition_text_val != condition_href)
{ {

View File

@ -43,7 +43,7 @@ void ImageCache::Images(int left1, top1, width1)
do{ do{
if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl() if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl()
{ {
//if (downloader_id) strcpy(#img_path, #history_list[history_current-1].Item); else if (downloader_id) strcpy(#img_path, #history_list[BrowserHistory.current-1].Item); else
strcpy(#img_path, BrowserHistory.CurrentUrl()); strcpy(#img_path, BrowserHistory.CurrentUrl());
if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0) if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0)
{ {

View File

@ -34,5 +34,6 @@ unsigned int GetNextParam()
} }
strlcpy(#parametr, #tagparam + i + 1, sizeof(parametr)); strlcpy(#parametr, #tagparam + i + 1, sizeof(parametr));
tagparam[i] = 0x00; tagparam[i] = 0x00;
strlwr(#parametr);
return 1; return 1;
} }