Since Google handles urls in the Robots.txt as case sensitive we need to treat the urls on the page accordingly. In our shop we have received errors in the Google Search Console for the url ShoppingCart/ProductDetails_AttributeChange?productId=108&validateAttributeConditions=False even though the Robots.txt contains /shoppingcart/*.
Therefore we should change for example _ProductAttributes.cshtml row 290
from
url: '@Html.Raw(Url.Action("ProductDetails_AttributeChange", "ShoppingCart", new {productId = productId, validateAttributeConditions = attributesHaveConditions}))',
to
url: '@Html.Raw(Url.Action("ProductDetails_AttributeChange", "ShoppingCart", new {productId = productId, validateAttributeConditions = attributesHaveConditions}).ToLower())',
There are probably other better ways to fix this problem, this is just highlighting the problem.
Greetings
/Johan