Generated QR code for shared files is inconsistent
- Dominant language
- Python
- Stars
- 46.7k
- Forks
- 1.9k
- Avg merge
- 9d 2h
- Merged PRs (30d)
- 4
Description
### Describe the bug
When I generate a single file share, the generated QR code includes the full link to the file, leading to a direct download in browsers. However, when I later view that share in ?shares and click on 'qr' to view the QR again, the generated QR code does not include the full path.
### Expected behavior
The QR codes should be the same for consistency: the one generated later should match the one generated initially.
Contributor guide
Research direction
Look for the share generation and QR code rendering logic, likely in the web interface or API endpoints. The bug is about the QR code content differing between initial generation and later viewing. Check the code that builds the share URL for the QR code in both contexts, ensure they use the same full path. Test by creating a share and comparing QR codes from the initial page and the shares list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100