Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2024.02.xx] #10081: fixing .geojson file not supported with mac os (#10082) #10625

Merged
merged 1 commit into from
Oct 24, 2024

Commits on Oct 22, 2024

  1. fixing .geojson file not supported with mac os (geosolutions-it#10082)

    * geosolutions-it#10081
    FixBug .geojson file not supported in macos.
    - In macOS .geojson file will be identified as type of "application/geo+json". So in checkFileType and readFile functions, they will not go into MIME_LOOKUPS list to find the corresponding type.
    - Check first in MIME_LOOKUPS list and then the file.type will solve this problem.
    On behalf of DB Systel GmbH
    
    * geosolutions-it#10082
    FixBug .geojson file not supported in macos.
    - added codes to support geojson in processFiles.jsx
    - fixed bug in testData.js in order to give a type by initialing a new File instance
    
    On behalf of DB Systel GmbH
    
    (cherry picked from commit afafc5c)
    congchen1101 authored and dsuren1 committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    2cb8db6 View commit details
    Browse the repository at this point in the history