function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PaulBackhousePaulBackhouse 

Hacked page?

Take a look at the following page:

https://developer.salesforce.com/page/An_Introduction_to_Apex_Code_Test_Methods

The code examples have random <script> elements.

A few minutes ago the heading of the page was gibberish too.
Best Answer chosen by PaulBackhouse
Jacob LehrbaumJacob Lehrbaum
@Paul: Thanks for flagging this to us.  It looks like our CDN had a security setting that was obsfucating email addresses in the page code to prevent bots from scraping the site to harvest email addresses.  Unfortunately this seemed to be conflicting with the "pre tags" we're using for doing code highlighting.  We've turned off the email address obsfucation for now so it should be wokring as expected.  Can you confirm?

All Answers

Ashish_SFDCAshish_SFDC

Hi Paul, 


That would be just Corrupt data while loading the page - just do a refresh it should be fine. 

User-added image

Post a screenshot again if you face any such issue. 


Regards,

Ashish

PaulBackhousePaulBackhouse
Are you saying you don't see the same thing?
PaulBackhousePaulBackhouse
Screenshot
Ashish_SFDCAshish_SFDC
Hi Paul, 


I mean, the page should be fine after the refresh, I have seen couple of pages with wierd letters and if you refresh it acts normal. 

So, if your page does not turn normal even after refresh then add the gibberish screenshot. 


Regards,
Ashish
PaulBackhousePaulBackhouse
It isn't fine after refresh.
Jacob LehrbaumJacob Lehrbaum
@Paul: Thanks for flagging this to us.  It looks like our CDN had a security setting that was obsfucating email addresses in the page code to prevent bots from scraping the site to harvest email addresses.  Unfortunately this seemed to be conflicting with the "pre tags" we're using for doing code highlighting.  We've turned off the email address obsfucation for now so it should be wokring as expected.  Can you confirm?
This was selected as the best answer
PaulBackhousePaulBackhouse
Yes it looks fine now, thanks!