1) If I add a custom logo path of the type http://www.mysite.com/path_to_logo/filename.png the watchdog logs a warning saying "path to http://http://www.mysite.com/path_to_logo/filename.png is not found".

2) If I add a custom logo path of the type ../path_to_logo/filename.png the watchdog logs a warning saying "path to http:///path_to_logo/filename.png is not found".

Anyone else experiencing this? I'm running 4.7 rc2, no contrib modules.

CommentFileSizeAuthor
#2 theme.inc_diff804 bytessteph
#1 theme.inc28.8 KBsteph

Comments

steph’s picture

Status: Active » Needs review
StatusFileSize
new28.8 KB

Here is a small patch that correct it

steph’s picture

StatusFileSize
new804 bytes

Sorry, wrong file :-(

Egon Bianchet’s picture

Version: 4.7.0-rc2 » 4.7.0

Why also ftp? I think it's not necessary ..

Anyway I suspect the test on $protocol won't work because "http" and "ftp" differs by one char, so "ftp" would instead be "ftp:" because of substr, or am I wrong?

Egon Bianchet’s picture

Status: Needs review » Needs work
killes@www.drop.org’s picture

Status: Needs work » Closed (won't fix)

I've got a report from an experienced user who says he cant reproduce it. try using an absolute path.