Skip to content

6.0以降で $lsx() で指定するパスにスペースが入っているとページ一覧が表示されない #9159

@dashwood8691

Description

@dashwood8691

Environment

Host

item version
OS Ubuntu 22.04.5 LTS
GROWI 6.0.15
node.js 16.20.0
npm 8.19.4
yarn 1.22.19
Using Docker yes
Using growi-docker-compose yes
  • GROWI 6.3.5, 7.0.19 でも同様の状況を確認済み。

Client

item version
OS macOS Sonoma 14.6.1 (23G93)
browser Google Chrome 129.0.6668.59 (Official Build) (arm64)

How to reproduce? (再現手順)

  1. タイトル(パス)にスペース入りのページを作る(e.x. /About Wiki)
  2. 別ページを作成して $lsx() で↑のパスを指定する(e.x. $lsx(/About Wiki))

What happens? (症状)

  • スペース以降の文字列が無視される(スクリーンショットの場合は $lsx(/About Wiki) の指定が $lsx(/About) のようになっている)
image

What is the expected result? (期待される動作)

  • GROWI 5.x のように $lsx() でスペースを含むパスを指定できる

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions