{"id":19040204,"url":"https://github.com/logisticinfotech/laravel-file-upload","last_synced_at":"2026-05-16T01:31:14.984Z","repository":{"id":97376743,"uuid":"163054132","full_name":"logisticinfotech/laravel-file-upload","owner":"logisticinfotech","description":"laravel file upload extension blank problem","archived":false,"fork":false,"pushed_at":"2019-01-18T10:26:29.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-02T07:10:23.761Z","etag":null,"topics":["file","laravel","laravel-file-upload","laravel-framework"],"latest_commit_sha":null,"homepage":"https://www.logisticinfotech.com/blog/laravel-upload-file-issue-getclientoriginalextension/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logisticinfotech.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-25T06:41:46.000Z","updated_at":"2019-03-05T22:53:08.000Z","dependencies_parsed_at":"2023-06-28T21:16:43.814Z","dependency_job_id":null,"html_url":"https://github.com/logisticinfotech/laravel-file-upload","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logisticinfotech%2Flaravel-file-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logisticinfotech%2Flaravel-file-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logisticinfotech%2Flaravel-file-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logisticinfotech%2Flaravel-file-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logisticinfotech","download_url":"https://codeload.github.com/logisticinfotech/laravel-file-upload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100521,"owners_count":19747682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file","laravel","laravel-file-upload","laravel-framework"],"created_at":"2024-11-08T22:21:13.168Z","updated_at":"2025-09-15T20:11:42.527Z","avatar_url":"https://github.com/logisticinfotech.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"In Laravel when uploading files sometime getClientOriginalExtension() returns empty string.\n\nThe getClientOriginalExtension() method returns the original file extension.\nIt is extracted from the original file name that was uploaded. Then it should not be considered as a safe value.\n\nWe should use guessExtension() method for resolution.\n\nThe guessExtension() method returns the extension based on the mime type.\n\nYou can find our blog from [this link](https://www.logisticinfotech.com/blog/laravel-upload-file-issue-getclientoriginalextension)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogisticinfotech%2Flaravel-file-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogisticinfotech%2Flaravel-file-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogisticinfotech%2Flaravel-file-upload/lists"}