Skip to content

Commit

Permalink
Github #14: Fixes issue with internationalized domain names
Browse files Browse the repository at this point in the history
  • Loading branch information
MattisOlsson committed Sep 14, 2023
1 parent 4ec8330 commit 6b1be73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Geta.Optimizely.ProductFeed/ProductFeedController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public ProductFeedController(IFeedRepository feedRepository)

public IActionResult Get()
{
var host = HttpContext.Request.GetDisplayUrl();
var host = HttpContext.Request.GetEncodedUrl();
var siteHost = new Uri(host);
var feedInfo = _feedRepository.GetLatestFeed(siteHost);

Expand Down

0 comments on commit 6b1be73

Please sign in to comment.