Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
windows_tools
Summary
The documentation is generally cross-platform and browser/JavaScript focused, but there is a subtle Windows bias in the proxy service example, which uses an '.ashx' handler (a Windows/IIS/ASP.NET-specific pattern) for the proxy endpoint. There are no explicit Linux or cross-platform proxy service examples, and the documentation does not mention Linux or non-Windows hosting environments for proxy services.
Recommendations
  • Provide proxy service examples using cross-platform technologies, such as Node.js/Express, Python/Flask, or Nginx, in addition to or instead of the .ashx/IIS example.
  • Explicitly mention that the proxy service can be implemented in any backend technology, not just ASP.NET/IIS.
  • Add a note or example showing how to set up a simple proxy on Linux-based environments.
  • Avoid using file extensions or handler names that are specific to Windows/IIS in generic code snippets.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

//Read a file from a URL or pass in a raw data as a string.
atlas.io.read('https://nonCorsDomain.example.com/mySuperCoolData.xml', {
    //Provide a proxy service
    proxyService: window.location.origin + '/YourCorsEnabledProxyService.ashx?url='
}).then(async r => {
    if (r) {
        // Some code goes here . . .
    }
});

atlas.io.read(data, {
    //Provide a proxy service
    proxyService: window.location.origin + '/YourCorsEnabledProxyService.ashx?url='
}).then(
    //Success
    function(r) {
        //some code goes here ...
    }
);