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

XrdTPC truncates query parameters/opaque information #932

Closed
apeters1971 opened this issue Mar 15, 2019 · 4 comments
Closed

XrdTPC truncates query parameters/opaque information #932

apeters1971 opened this issue Mar 15, 2019 · 4 comments

Comments

@apeters1971
Copy link
Contributor

XrdTPC currently ignores the "xrd-http-query" header and only sets the authz header.

The query parameters should be bridged to the SFS backend.

@bbockelm
Copy link
Contributor

@apeters1971 - can you give a sample request and what you expect to be passed to the backend?

Particularly, headers can be transformed to CGI requests to the SFS backend by specifying header2cgi as in:

http.header2cgi Authorization authz

Are you asking for something else?

@apeters1971
Copy link
Contributor Author

We use URLs with CGI queries:

/cms/higgs.root?foo=bar

SFS should see path=/cms/higgs.root + info=foo=bar

The header generated by XrdHttp is called : xrd-http-query
but probably the header2cgi does not work in this case, right?

@bbockelm
Copy link
Contributor

Gotcha - I can look into the CGI question.

I'm still not following the question about a xrd-http-query header. I don't see this string grepping through the source code.

@bbockelm
Copy link
Contributor

Ok, I see what you mean. I think I just had an older version of master without your patches for the xrd-http-query header.

Anyhow, PR #934 should fix it. Can you verify things?

@ffurano ^^^

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

No branches or pull requests

2 participants