Git Product home page Git Product logo

filemaker-fmpurl's Introduction

Custom function for generating a cross-platform compatible fmpurl for opening files and running scripts via the Open URL script step.

This file mostly exists due to this bug and my wanting to do cross-platform testing to confirm I can open/close files and run scripts via fmpurl.

fmpurl protocol facts

These facts were observed based on tests done by the fmpurl-protocol-tests file on multiple platforms/versions. These were only tested with the Open URL script step with the specified file in Documents directory.

  1. Account and password cannot be urlencoded
  2. Account cannot contain any special characters or text with accents, but a space is fine.
  3. Password can only contain these special characters ,;:()$ (of the one's I tested, at least).
    • FM Go is the most restrictive; FM Pro accepted other special characters.
  4. Password cannot contain text with accents.
  5. The work-around for a bug in iOS 6, 7, and 8 (http://thefmkb.com/11358) will fail if the filename contains spaces (only tested on iOS 9 and 10).
  6. Filename cannot be urlencoded.
  7. Filename can contain text with accents, spaces, and special characters (I only tested @).
  8. If a script name is urlencoded, it can contain any character (of the set tested, at least). Many characters don't even need to be urlencoded, but results will vary across platforms.
    • same applies to script parameter
    • same applies to variable values
  9. Variable names were not tested since I never use spaces, special characters, or accents in my variable names.

Tests that should still be done

  1. Re-login to an already open file.
  2. Login as [Guest].
  3. Login to account without password.
  4. Resolve, or document failing tests in fmpurl.fmp12 file, when run from FMGo.

filemaker-fmpurl's People

Contributors

dansmith65 avatar

Watchers

James Cloos avatar Josh Ormond avatar

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.