You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the ReverseProxyDocumentFilter class, at line 151, you search the pathKey (which is the target endpoint one) in the publishedRoutes dictionary (which is created from the routes configuration Path property, in other words the source endpoint):
var pathKey = $"{swagger.PrefixPath}{path.Key}";
if (!publishedRoutes.ContainsKey(pathKey))
{
continue;
}
Logically, it cannot match.
This leads to unwanted filtering of all transformated paths.
Regards,
Aurélien
The text was updated successfully, but these errors were encountered:
@aurelienhayet Hi! Thank you for your issue. You're right. We need to improve our library to interpret YARP transforms. For now, you need to avoid significant path transformations when using AddOnlyPublishedPaths flag. Use "PathPattern": "{**catch-all}" or "PathRemovePrefix": "/proxy-app1". It works.
Hi,
In the
ReverseProxyDocumentFilter
class, at line 151, you search thepathKey
(which is the target endpoint one) in thepublishedRoutes
dictionary (which is created from the routes configurationPath
property, in other words the source endpoint):Logically, it cannot match.
This leads to unwanted filtering of all transformated paths.
Regards,
Aurélien
The text was updated successfully, but these errors were encountered: