a23one

oburai

Changelog

Temporary URL Validation Bypasses for Early Development

Temporarily relaxed URL validation and sanitisation checks

Temporarily disabled strict URL validity checks and bypassed the neutralise sanitisation library to allow broader testing.

  • changed

    Temporarily disabled URL validity checking in neutralise() calls during link creation

  • changed

    Temporarily bypassed the neutralise URL sanitisation library entirely in link creation

Improve Error Handling for Redirection Routes

Added robust error wrapping and adjusted invalid link ID responses

Updated core redirection logic with try/except error handling and returned 204 status codes for invalid or empty link IDs.

  • added

    Added try/except error wrapping around core get_route logic and returned 204 status codes for invalid or empty link IDs

Removed Request-Level Timeout Middleware

Reverted request timeout enforcement and 504 error responses

Removed previously added request-level timeout middleware and stopped returning 504 Gateway Timeout responses.

  • removed

    Removed request-level timeout enforcement and associated 504 error responses

Add Core API Endpoints and Observability Features

Added health check endpoint and rate limiting for redirection routes

Launched the initial oburai FastAPI URL shortener, adding a health check endpoint and rate limits to protect against abuse.

  • added

    Added /health endpoint to test database connectivity and report service status

  • added

    Added rate limiting (15 requests per minute, 600 per hour) to the primary {link_id} redirection route

Small Frontend CSS Adjustment

Added select-none class to improve index page styling

Added the select-none CSS class to the index HTML template to prevent unintended text selection.

  • changed

    Added select-none CSS class to the index.html template