-
Notifications
You must be signed in to change notification settings - Fork 22
Filenames with slashes in volume filtering #1466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 3 commits
1ddb38e
9448a41
ed957be
fe6f98a
5c3d72e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -432,7 +432,7 @@ | |
|
|
||
| $router->get('{id}/files/filter/filename/{pattern}', [ | ||
| 'uses' => 'Filters\FilenameController@index', | ||
| ]); | ||
| ])->where('pattern', '.*'); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this if it matches anything?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After additional investigation:
The second approach is actually cleaner so I'll remove the manual encoding/decoding
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a comment here why this is used, then. And you think we shouldn't use |
||
|
|
||
| $router->get('{id}/file-labels', [ | ||
| 'uses' => 'UsedFileLabelsController@index', | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.