Skip to content
代码片段 群组 项目
  • Quang-Minh Nguyen's avatar
    ac3c7677
    Fix Wiki feature raises exception when titles start with ~ · ac3c7677
    Quang-Minh Nguyen 创作于
    In Wiki#sluggified_title, we are using File#expand_path to remove
    relative components of the title. Unfortunately, if the title starts
    with "~" character, that method treats the path as a part of user home
    dir.
    
    The fix is to switch to File#absolute_path, identical to the troublesome
    one without user home dir expansion.
    
    Changelog: fixed
    ac3c7677
    历史
    Fix Wiki feature raises exception when titles start with ~
    Quang-Minh Nguyen 创作于
    In Wiki#sluggified_title, we are using File#expand_path to remove
    relative components of the title. Unfortunately, if the title starts
    with "~" character, that method treats the path as a part of user home
    dir.
    
    The fix is to switch to File#absolute_path, identical to the troublesome
    one without user home dir expansion.
    
    Changelog: fixed
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。