Skip to content
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

Double slash for images in the start directory of the upload folder #431

Closed
muratpurc opened this issue Jan 27, 2024 · 0 comments · Fixed by #433
Closed

Double slash for images in the start directory of the upload folder #431

muratpurc opened this issue Jan 27, 2024 · 0 comments · Fixed by #433
Assignees
Labels
bug Something isn't working
Milestone

Comments

@muratpurc
Copy link
Collaborator

Files that are uploaded directly to the start directory of a mandate's upload folder (cms/upload) have a double leading slash (//) when outputting in the content_image module when assembling the path to the image.

See also post in the forum:
https://forum.contenido.org/viewtopic.php?f=116&t=44720

@muratpurc muratpurc added the bug Something isn't working label Jan 27, 2024
@muratpurc muratpurc added this to the v4.10.2 milestone Jan 27, 2024
@muratpurc muratpurc self-assigned this Jan 28, 2024
@muratpurc muratpurc added this to To do in Kanban board via automation Jan 28, 2024
muratpurc added a commit that referenced this issue Jan 28, 2024
…older

Fixed double slash issue, and some optimizations and PHPDoc.
muratpurc added a commit that referenced this issue Jan 28, 2024
…older

- Reworked and formatted code of content type classes
- Added new functions `buildFileList()` and `_sortDirectoriesOrFilesList()` to `cContentTypeAbstract` and usage of the functions in content type classes
Kanban board automation moved this from To do to Done Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Kanban board
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant