Skip to content
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

fix(admin) empty url sugar attribute, see #3448 #3452

Merged
merged 1 commit into from
May 11, 2018

Conversation

bungle
Copy link
Member

@bungle bungle commented May 10, 2018

Summary

Fixes unexpected error on admin api when using invalid `url´ sugar attribute on services endpoints reported by @thefosk.

Issues resolved

Fix #3448

@@ -3,6 +3,7 @@ local utils = require "kong.tools.utils"
local url = require "socket.url"

local type = type
local null = ngx.null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will upset the linter

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

@bungle bungle force-pushed the fix/admin-services-url-sugar branch from d950dd1 to d2a9328 Compare May 10, 2018 23:50
@thibaultcha thibaultcha merged commit fd4db25 into master May 11, 2018
@thibaultcha thibaultcha deleted the fix/admin-services-url-sugar branch May 11, 2018 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

500 error when adding a Service with an empty "url" value
2 participants