HF RL Explorer

Task: Implement SSL/HTTPS Enforcement for ASP.NET MVC Controllers

Task: Implement SSL/HTTPS Enforcement for ASP.NET MVC Controllers: a task in Terminal-Lego-15k (Harbor dataset). In ASP.NET MVC applications, it is often necessary to enforce HTTPS/SSL on specific pages (e.g., login, payment, account management) while allowing other pages to be served over regular…

The task

In ASP.NET MVC applications, it is often necessary to enforce HTTPS/SSL on specific pages (e.g., login, payment, account management) while allowing other pages to be served over regular HTTP. Your task is to implement a custom `RequireHttpsAttribute` filter and a URL helper mechanism that enables selective HTTPS…

Part of PrimeIntellect/Terminal-Lego-15k.