3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
974b1b4ebf One more test 2026-06-24 14:31:30 +01:00
65dfbff53d Added null vs empty test 2026-06-24 14:21:23 +01:00
16bc195767 Fixed route parameter $next, updated language, added tests 2026-06-24 14:08:21 +01:00
c45e1e2928 API/User Agent: Apply to SCIM routes 2026-06-24 12:28:54 +01:00
7e617bbfa3 Switch to stripos(...) === 0
Updated the pattern check to use `stripos(...) === 0` (prefix match) instead of !== false (substring match), so scripted clients identify themselves at position 0, and prefix matching prevents a pattern from accidentally matching an unrelated UA that mentions it later. This makes surwe a UA like MyWrapper/1.0 (uses curl/8.5.0 internally) passes, and a plain curl/8.5.0 is blocked.
2026-06-24 12:18:39 +01:00
7714179de8 API/Settings: Added optional requirement for non-generic user agent
alternative to #19217
2026-06-23 22:59:03 +01:00