Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Word splitting issues resolved #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Word splitting issues resolved #41

wants to merge 1 commit into from

Commits on Sep 19, 2014

  1. Word splitting issues resolved

    Example of the issue on zsh with autocd turned on:
    
        ~/directory % cat <<!
        subdir1
        subdir2
        subdir3
        !
        [the output of cat]
        ~/directory/subdir1 %
    
    The cwd has changed due to the heredoc lines being incorrectly split.
    
    Another, much more threatening example:
    
        ~/ % ls
        [the directory is empty]
        ~/ % cat <<!
        touch newfile
        !
        [the output of cat]
        ~/ % ls
        newfile
    
    It actually may lead to unintentional code execution.
    vifon committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    72f7079 View commit details
    Browse the repository at this point in the history