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

Query URI components often called 'search' #7

Open
wouterbeek opened this issue May 1, 2016 · 2 comments
Open

Query URI components often called 'search' #7

wouterbeek opened this issue May 1, 2016 · 2 comments
Labels

Comments

@wouterbeek
Copy link
Contributor

Why is 'search' used to denote the query component of a URI? The URI RFC does not define the word 'search'. See: https://tools.ietf.org/html/rfc3986. Can all occurrences of 'search' be replaced by 'query'?

@wouterbeek
Copy link
Contributor Author

search should be changed to query, however, legacy code may be using this. Packages http and pengines, ClipPatria and pl-www must be updated in sync to fix this (or a compatibility wrapper must be written).

@JanWielemaker
Copy link
Member

It was probably a usual term somewhere when I wrote the first version. Just changing is not an option. It will just break too much code that is hard to debug. We can add duplicate clauses
for uri_data/3,4 and change the documentation and the usage in the packages.

Update to ClioPatria should work with old version. Either delay or use :- if(.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants