Giter Site home page Giter Site logo

taters's People

Contributors

nimdraug avatar

Watchers

 avatar  avatar

taters's Issues

unicode filenames and ftp locations

Seems like there is an issue putting files w/ unicode filenames into ftp locations. Needs further testing along with other location types.

Locations should not accept absolute paths

Currently any location is okay with getting files with absolute paths, meaning that files can be put outside of the location, potentially leading to issues.
If a file is inadvertently passed with an absolute path, it should be applied as if it's relative to the location's base path.

ftp location source does not return correct paths

taters.locations.ftp( 'ftp://a.com/x/y' ).source() yields files with their dirname set to /x/y (as in /x/y/somefile.txt), which when passed to a local location will attempt to create that path, causing a permission error.

Additionally, local locs should not accept absolute paths in the first place, and always assume they are relative to the local loc's basepath. Fixing this would also resolve this issue.

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.