Skip to content

Banned from OSM #5

@kevsgithub

Description

@kevsgithub

Rmaps and many other apps have been banned from OpenStreetMaps due to generic Useragent and incorrect usage of cache control.
User agent must contain the app name.

Useragent should probably be the Android device and rmaps version, eg :
Samsung s4 mini - RMaps.0.9.4.1-xavPatch.1

I've had a quick skim of the source code and found these :

//connection.setRequestProperty("User-Agent", "Java bot");

This force skip of OSM cache is just wrong on so many levels, no wonder apps like this have been banned.

connection.setRequestProperty("Cache-Control", "no-cache");

Thanks for maintaing rmaps for the very few of us who still think it's the best :) 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions