Code Monkey home page Code Monkey logo

google-maps-plugin's People

Watchers

 avatar  avatar  avatar  avatar  avatar

google-maps-plugin's Issues

Lack of HTTPS support

At present time plugin calls Google Maps by http regardless of the environment. One should either switch to https for maps.googleapis.com URL or make use of the properties of the request object.

Use right IP when IP string contain more than one IP adress

Hi, my site is use free cloudflare CDN, and all users IP address in Mibew backend is x.x.x.x (x.x.x.x), we should use the IP in the parentheses.

I just review the code, and I think the problem is in this code:

            $count = preg_match_all(
                "/(?:(?:[0-9]{1,3}\.){3}[0-9]{1,3})/",
                $function['arguments']['ip'],
                $matches
            );

the $function['arguments']['ip'], can not return a IP string as x.x.x.x (x.x.x.x) format but just return the first IP (not the IP in the parentheses), but I'm not sure how to get complete IP string contain two IP address.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.