[CMake] CDash broken after production mode is set to true

Mika.Rajala at patria.fi Mika.Rajala at patria.fi
Mon Jun 27 01:58:01 EDT 2011


cmake-bounces at cmake.org wrote on 23.06.2011 12:42:42:

> From: Mika.Rajala at patria.fi
> To: cmake at cmake.org
> Date: 23.06.2011 12:43
> Subject: Re: [CMake] CDash broken after production mode is set to true
> Sent by: cmake-bounces at cmake.org
> 
> ----- Forwarded by Mika Rajala/PATRIA on 23.06.2011 12:42 ----- 
> 
> From:        Mika Rajala/PATRIA 
> To:        Mika.Rajala at patria.fi 
> Date:        23.06.2011 12:42 
> Subject:        Re: [CMake] CDash broken after production mode is set to 
true 
> 
> 
> Hi 
> 
> I tried installing a different browser and, with that, it seems to work. 

> 
> However, the fonts are still different from what they were before, so 
> something has changed. 
> 
> I have some screenshots so it's easy to verify this. 
> 
> What i still don't understand, is what happened to the client 
subscription. 
> 
> For SiteId, after a seemingly successful submission, It gets some crap 
> which i cannot type since i don't know the character codes for all those 
things 
> 
> possibly something in raw binary. 
> 
> off to "happy" bug hunting, please post your suggestions if you have 
anything. 
> 
> -mika 
> 
> 
> 
> From:        Mika.Rajala at patria.fi 
> To:        cmake at cmake.org 
> Date:        23.06.2011 11:00 
> Subject:        [CMake] CDash broken after production mode is set to 
true 
> Sent by:        cmake-bounces at cmake.org 
> 
> 
> 
> Hi 
> 
> I was all set up with my cdash server, after setting production mode to 
> true, things stop working. 
> 
> Clients when they attempt to receive their id when they submit to cdash 
> server get some junk as answer, they don't list up the schedule build 
thing. 
> 
> Fonts change, menus won't work. 
> 
> For instance, the Administration menu, when i look at a dashboard. 
> 
> 
> Any ideas? 
> 
> -mika_______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://
> www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://
> www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


Yeah, I found it, after getting really happy with PHP and IE

The hex code was the UTF-8 BOM crap, which indicates that the rest of the 
file is in UTF-8.
EF BB BF

Windows notepad saved that to the config.php file, that i modified to set 
production mode to true.

For some happy reason within PHP, the hex code EF BB BF is echoed, when a 
file with it is "included".

For CDash / CTest, this means that the thing is added three times to the 
file that the CDash client gets when it submits itself to the CDash 
server.

This was also the reason why IE could not show the menu from the 
administration thing.
I wouldn't wonder if that could somehow be used to hack into ones 
computer.

Firefox seemed to work regardless of this, maybe it just removes that 
sequence. Why doesn't CTest / CMake / IE ?


Oh, and if you are wondering how I removed it, I used notepad++. Under 
encoding you find "Encode in UTF-8 without BOM".

-mika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110627/472dfd70/attachment-0001.htm>


More information about the CMake mailing list