nextcloud / nextcloud/maps

GPX files apparently are listed by extension, including Guitar Pro 6 *.gpx files

Open
#735 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Just as a quick report on what catched my eye a moment ago. It appears like GPX files are registered based solely on their file extension. Also including files like Guitar Pro 6 guitar tabs which obviously does not make sense. I personally have no use for this whole feature at all but I would appreciate a disable option or more precise file recognition. Maybe a check for headers or MIME-types would help in this matter.

Bildschirmfoto 2022-05-14 um 18 05 32

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by locating the GPX file-registration and listing entry points, then reproduce the behavior with a Guitar Pro 6 .gpx file. The scope remains to be decided between more precise recognition and a disable option; done should prevent unrelated .gpx files from being treated as GPX tracks.

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.