Skip to content
  • Colomban Wendling's avatar
    glocalvfs: Remove unnecessary and buggy code · 1fa03292
    Colomban Wendling authored
    The code for stripping the query and fragment from file:// URIs was
    wrong, as it would not properly strip a query if there was a fragment.
    
    Fortunately, that code was actually useless, as the "stripped URI" was
    passed to g_filename_from_uri() that does proper stripping itself.
    
    So simply drop this extra unnecessary stripping logic from GLocalVFS's
    get_file_for_uri() and let g_filename_from_uri() do all the work.
    1fa03292