-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UrlBuilder no longer ensures the BaseUrl and path are concatenated with a slash #4697
Comments
@paulomorgado is this a known regression? Should we fix that? |
Woulnd't it be better to ensure that BaseUrl always ends with a '/' when its value is assigned? |
The strategy is now to guarantee that the base URL has the trailing Maybe we should do the other way around and remove the trailing Or maybe we should just use the What changes did you have to make in the constructor? Does this PR (#4691) fix it? |
That's the strategy now. |
This is my base class. I just ensured that the base url has a trialing slash. PR #4691 looks like it will fix it. Thanks.
|
When upgrading from version 13.20 to 14.0 the following generated C# code no longer prepends a slash to the path.
v13.20 code
v14.0 code
This change was not listed on the breaking changes section. Was this intentional?
I was able to work-around this by adding code the base class constructor, but it was a surprise.
The text was updated successfully, but these errors were encountered: