Skip to content

Security policies#51

Merged
Buffden merged 2 commits into
mainfrom
security-policies
Apr 10, 2026
Merged

Security policies#51
Buffden merged 2 commits into
mainfrom
security-policies

Conversation

@Buffden
Copy link
Copy Markdown
Owner

@Buffden Buffden commented Apr 10, 2026

No description provided.

Buffden added 2 commits April 10, 2026 06:02
Strip leading zeros from base62 short codes (0000GB → GB) for shorter user-facing redirect URLs; update min size in RedirectController from 6 to 1 accordingly

Add creator_ip, creator_user_agent, referer, and click_count columns to url_mappings; tracking fields are captured from HTTP request headers at creation time and never exposed in API responses

Increment click_count on every successful redirect

V2 migration: strips leading zeros from existing rows, relaxes short_code check constraint to {1,32}, adds tracking columns
@Buffden Buffden merged commit f24cd0f into main Apr 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant