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

When ever Particular key has empty value in XFCC Header, It is parsing wrongly #259

Open
mohankvnr opened this issue Jun 14, 2023 · 0 comments

Comments

@mohankvnr
Copy link

We have header XFCC something like this
dns=dnsvalue1;dns=dnsvalue2;URI=;DNS=dnsvalue3

But parsing is giving unexpected result

What happened:
DNS = {dnsvalue1,dnsvalue2}
URI = ;DNS=dnsvalue3

What you expected to happen:
DNS = {dnsvalue1,dnsvalue2,dnsvalue3}

How to reproduce it (as minimally and precisely as possible):
Just use this as xfcc header - dns=dnsvalue1;dns=dnsvalue2;URI=;DNS=dnsvalue3
and parse the function

Anything else we need to know?:

Environment:

  • go-sdk version: v1.20220411.3
  • go version (e.g go version): 1.19
  • OS (e.g: cat /etc/os-release): Mac
  • Others:
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

1 participant