From 5c083d91343dd72cafbda1e58f8824b9c7eb7e2c Mon Sep 17 00:00:00 2001 From: Mark Stott Date: Sat, 8 Nov 2025 09:07:21 +0000 Subject: [PATCH 1/2] Add antiforgery token to prevent errors in optimizely's notifications code. --- .gitignore | 4 +++- .../Views/RobotsLandingPage/Index.cshtml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index beb35c2..4462784 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ bld/ # Visual Studio 2015/2017 cache/options directory .vs/ +.vscode/ # Uncomment if you have tasks that create the project's static files in wwwroot #wwwroot/ @@ -353,4 +354,5 @@ MigrationBackup/ App_Data/ # Modules -*/Stott.Optimizely.RobotsHandler/modules/** \ No newline at end of file +*/Stott.Optimizely.RobotsHandler/modules/** +*/OptimizelyTwelveTest/modules/** \ No newline at end of file diff --git a/src/Stott.Optimizely.RobotsHandler/Views/RobotsLandingPage/Index.cshtml b/src/Stott.Optimizely.RobotsHandler/Views/RobotsLandingPage/Index.cshtml index 38bae98..110350f 100644 --- a/src/Stott.Optimizely.RobotsHandler/Views/RobotsLandingPage/Index.cshtml +++ b/src/Stott.Optimizely.RobotsHandler/Views/RobotsLandingPage/Index.cshtml @@ -12,6 +12,7 @@ + @Html.AntiForgeryToken() @Html.CreatePlatformNavigationMenu()
From 92e73b1ed7ec0cdaeca62559215e9b7f69ba84b9 Mon Sep 17 00:00:00 2001 From: Mark Stott Date: Mon, 10 Nov 2025 14:00:59 +0000 Subject: [PATCH 2/2] Package up as 6.0.1 --- .../Stott.Optimizely.RobotsHandler.csproj | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Stott.Optimizely.RobotsHandler/Stott.Optimizely.RobotsHandler.csproj b/src/Stott.Optimizely.RobotsHandler/Stott.Optimizely.RobotsHandler.csproj index 5820287..4c51d7b 100644 --- a/src/Stott.Optimizely.RobotsHandler/Stott.Optimizely.RobotsHandler.csproj +++ b/src/Stott.Optimizely.RobotsHandler/Stott.Optimizely.RobotsHandler.csproj @@ -8,16 +8,16 @@ Mark Stott https://github.com/GeekInTheNorth/Stott.Optimizely.RobotsHandler https://github.com/GeekInTheNorth/Stott.Optimizely.RobotsHandler - Mark Stott 2024 + Mark Stott 2025 LICENSE.txt Provides an Admin interface in Optimizely CMS 12 for managing robots.txt files. A controller responds to the /robots.txt path and returns the appropriate content specific to the site. true en-GB Optimizely CMS Robots Robots_txt - 6.0.0 - 6.0.0 - 6.0.0 - Add support for Opal Tools and Headless solutions. + 6.0.1 + 6.0.1 + 6.0.1 + Fix errors for Optimizely Notification Service. README.md git