Skip to content

Conversation

ueno
Copy link
Member

@ueno ueno commented Jan 23, 2017

While 'pin-source' and 'pin-value' are defined as query atttribute, they
are defined as path attribute in old drafts (-13 or earlier), and some
implementations still stick to it.

For backward compatibility, accept those in path attributes when
parsing (but not when formatting).

Reported by Andreas Metzler in:
https://lists.freedesktop.org/archives/p11-glue/2017-January/000637.html

@nmav
Copy link
Contributor

nmav commented Jan 23, 2017

Seems fine and seems to address the test suite failure. @lkundrak would that compatibility conflict with what you were trying to achieve on cbf1e42? Should we set some transition period, or some flag to disable that compatibility if that could cause problems in applications like nm?

@ueno ueno force-pushed the wip/dueno/uri-pin-value branch from 873a43c to 3d6260e Compare January 24, 2017 08:46
While 'pin-source' and 'pin-value' are defined as query atttribute, they
were defined as path attribute in earlier drafts, and some
implementations still stick to it.

For backward compatibility, accept those in path attributes when
parsing (but not when formatting).

Reported by Andreas Metzler in:
https://lists.freedesktop.org/archives/p11-glue/2017-January/000637.html
@ueno ueno force-pushed the wip/dueno/uri-pin-value branch from 3d6260e to a35e718 Compare January 24, 2017 08:56
@ueno
Copy link
Member Author

ueno commented Feb 2, 2017

Assuming this doesn't break compatibility with any consumers at present, I'm merging this.

@ueno ueno merged commit 77913af into p11-glue:master Feb 2, 2017
@ueno ueno deleted the wip/dueno/uri-pin-value branch March 1, 2017 08:53
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.

2 participants