Files
evidencija-rezija/app
Knee Cola 844e386e18 refactor: use combined shareId (locationId + checksum) in URL
Changes:
- Add generateShareId() and extractShareId() helpers
- Share URLs now use single parameter: /share/location/{shareId}
- shareId = locationId (24 chars) + checksum (16 chars) = 40 chars total
- Update validateShareAccess() to extract locationId from shareId
- Update uploadProofOfPayment() to accept combined shareId
- Update LocationViewPage to validate and extract locationId from shareId

Benefits:
- Simpler URL structure (one parameter instead of two)
- Checksum extraction by length (deterministic, no parsing needed)
- Same security properties (HMAC-SHA256 validation)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-08 00:22:59 +01:00
..
2025-12-07 18:48:37 +01:00
2024-01-15 15:31:13 +01:00
2024-01-15 15:26:17 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-02-17 09:14:06 +01:00