Changed character for non-encrypted page
-/T/U: No SSL, Trusted SSL, Untrusted SSL Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
parent
3c1ed5d56a
commit
24f0f83197
1 changed files with 7 additions and 1 deletions
8
surf.c
8
surf.c
|
@ -1064,7 +1064,13 @@ gettogglestat(Client *c){
|
||||||
|
|
||||||
static void
|
static void
|
||||||
getpagestat(Client *c) {
|
getpagestat(Client *c) {
|
||||||
pagestat[0] = c->sslfailed ? 'U' : 'T';
|
const char *uri = geturi(c);
|
||||||
|
|
||||||
|
if(strstr(uri, "https://") == uri)
|
||||||
|
pagestat[0] = c->sslfailed ? 'U' : 'T';
|
||||||
|
else
|
||||||
|
pagestat[0] = '-';
|
||||||
|
|
||||||
pagestat[1] = usingproxy ? 'P' : '-';
|
pagestat[1] = usingproxy ? 'P' : '-';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue