nextcloud / nextcloud/workflow_script

App removes Umlauts

オープン
#103 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
PHP
スター
89
フォーク
19
平均マージ
6時間 38分
マージ済み PR(30日)
3

説明

Hello,
I have a Script that processes various files but every time a Filepath contains a Umlaut (äöüÜÖÄ) the App removes them from the Path and the Script fails. Wich is weird because i have a seperate Nextcloud server (but a older version) for Testing where the App does not remove the Umlauts and the Script works perfectly.

I just recently setup the Nextcloud where i encounter this Problem. Is it possible that i made some mistakes in the setup Process that causes this to happen? I searched for hours but could not find documentation on this problem.

I dont know if its a bug for newer versions or if im just too dumb to see my error but help would be very appreciated.

Steps to reproduce

  1. Setup Workflow_Script to echo filepath to logfile
  2. do smth to File with Umlauts (e.g. Müller.pdf)
  3. wait for cron.php or execute
  4. Open logfile
Expected behaviour

path in logfile is,
some/file/called/müller.pdf

Actual behaviour

path in logfile is,
some/file/called/mller.pdf

Workflow Script app

**Workflow Script app version: 1.7.0

Server configuration

Operating system: Ubuntu

Web server: Apache

Database: Maria

**Nextcloud Version: 22.2.0

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Müller.pdf のようなファイルに対して Workflow Script アプリを実行して問題を再現し、cron.php を介した処理を期待される logfile パスと比較します。アプリのファイルパス処理を調査し、ログに記録されたパスでウムラウトが保持されていることを確認します。logfile に元のファイル名が含まれていれば、問題は修正されています。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
php
領域
backend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。