[JIRA] (IDP-2137) dumpconfig CLI not functional
Ian Young (Jira)
jira at shibboleth.atlassian.net
Mon Jul 3 09:55:03 UTC 2023
Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *created* an issue
Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiYjU5NGE2ODQ2YzYxNGRkMGE2NDRmNDU5YjU5ZjMwNTIiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/IDP-2137?atlOrigin=eyJpIjoiYjU5NGE2ODQ2YzYxNGRkMGE2NDRmNDU5YjU5ZjMwNTIiLCJwIjoiaiJ9 ) IDP-2137 ( https://shibboleth.atlassian.net/browse/IDP-2137?atlOrigin=eyJpIjoiYjU5NGE2ODQ2YzYxNGRkMGE2NDRmNDU5YjU5ZjMwNTIiLCJwIjoiaiJ9 ) dumpconfig CLI not functional ( https://shibboleth.atlassian.net/browse/IDP-2137?atlOrigin=eyJpIjoiYjU5NGE2ODQ2YzYxNGRkMGE2NDRmNDU5YjU5ZjMwNTIiLCJwIjoiaiJ9 )
Issue Type: Bug Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Administration Created: 03/Jul/23 5:55 AM Priority: Trivial Reporter: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 )
It looks like the new dumpconfig.sh CLI isn't constructing the URL correctly, by omitting the mandatory profile query parameter.
This results in a MessageDecodingException error in the logs, but the result seen by the dumpconfig cli is a 400 error. I'm guessing a failure to decode always results in a 400 for "I don't want to be an oracle" security reasons but if we weren't concerned about that in this case there are probably better HTTP codes to return.
Manually constructing the URL does seem to work.
( https://shibboleth.atlassian.net/browse/IDP-2137#add-comment?atlOrigin=eyJpIjoiYjU5NGE2ODQ2YzYxNGRkMGE2NDRmNDU5YjU5ZjMwNTIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2137#add-comment?atlOrigin=eyJpIjoiYjU5NGE2ODQ2YzYxNGRkMGE2NDRmNDU5YjU5ZjMwNTIiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100228- sha1:e911e2c )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230703/f4cbd590/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-8653aff1-bb00-41d6-9ac2-83033378c8e6
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230703/f4cbd590/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-b3cc710a-0834-4f89-8739-8a23a07c800f
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230703/f4cbd590/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-bbf9ce51-d491-4d4c-a7ee-04c7bdefd20d
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230703/f4cbd590/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-873498a0-6262-40f0-8add-071bcc0c508e
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230703/f4cbd590/attachment-0007.png>
More information about the commits
mailing list