forked from KolibriOS/kolibrios
WebView 1.62: fix issue with HTTPS reproduced by hidnplayr
git-svn-id: svn://kolibrios.org@6985 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
54684dffe0
commit
5286e836d2
@ -30,7 +30,7 @@
|
|||||||
char homepage[] = FROM "html\\homepage.htm""\0";
|
char homepage[] = FROM "html\\homepage.htm""\0";
|
||||||
|
|
||||||
#ifdef LANG_RUS
|
#ifdef LANG_RUS
|
||||||
char version[]="’¥ªáâ®¢ë© ¡à 㧥à 1.61";
|
char version[]="’¥ªáâ®¢ë© ¡à 㧥à 1.62";
|
||||||
?define IMAGES_CACHE_CLEARED "Šíè ª à⨮ª ®ç¨é¥"
|
?define IMAGES_CACHE_CLEARED "Šíè ª à⨮ª ®ç¨é¥"
|
||||||
?define T_LAST_SLIDE "<EFBFBD>â® ¯®á«¥¤¨© á« ©¤"
|
?define T_LAST_SLIDE "<EFBFBD>â® ¯®á«¥¤¨© á« ©¤"
|
||||||
char loading[] = "‡ £à㧪 áâà ¨æë...<br>";
|
char loading[] = "‡ £à㧪 áâà ¨æë...<br>";
|
||||||
@ -43,7 +43,7 @@ char rmb_menu[] =
|
|||||||
Žç¨áâ¨âì ªíè ª à⨮ª
|
Žç¨áâ¨âì ªíè ª à⨮ª
|
||||||
Œ¥¥¤¦¥à § £à㧮ª";
|
Œ¥¥¤¦¥à § £à㧮ª";
|
||||||
#else
|
#else
|
||||||
char version[]="Text-based Browser 1.61";
|
char version[]="Text-based Browser 1.62";
|
||||||
?define IMAGES_CACHE_CLEARED "Images cache cleared"
|
?define IMAGES_CACHE_CLEARED "Images cache cleared"
|
||||||
?define T_LAST_SLIDE "This slide is the last"
|
?define T_LAST_SLIDE "This slide is the last"
|
||||||
char loading[] = "Loading...<br>";
|
char loading[] = "Loading...<br>";
|
||||||
@ -215,6 +215,9 @@ void main()
|
|||||||
DSBYTE[EDI-1]='\0';
|
DSBYTE[EDI-1]='\0';
|
||||||
if (!strncmp(#URL,"https://",8))
|
if (!strncmp(#URL,"https://",8))
|
||||||
{
|
{
|
||||||
|
history.back();
|
||||||
|
strcpy(#editURL, history.current());
|
||||||
|
strcpy(#URL, history.current());
|
||||||
ShowErrorMessageThatHttpsIsNotSupportedYet();
|
ShowErrorMessageThatHttpsIsNotSupportedYet();
|
||||||
StopLoading();
|
StopLoading();
|
||||||
break;
|
break;
|
||||||
@ -544,6 +547,9 @@ void ClickLink()
|
|||||||
if (!strncmp(#URL,"https://",8))
|
if (!strncmp(#URL,"https://",8))
|
||||||
{
|
{
|
||||||
ShowErrorMessageThatHttpsIsNotSupportedYet();
|
ShowErrorMessageThatHttpsIsNotSupportedYet();
|
||||||
|
strcpy(#editURL, history.current());
|
||||||
|
strcpy(#URL, history.current());
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
GetAbsoluteURL(#URL);
|
GetAbsoluteURL(#URL);
|
||||||
|
Loading…
Reference in New Issue
Block a user