cu-library / ezproxy-config-lint

A linter for EZProxy config files.
MIT License
3 stars 0 forks source link

AllowVars, EncryptVar, and EBLSecret position #16

Open moorereason opened 2 hours ago

moorereason commented 2 hours ago

The AllowVars, EncryptVar, and EBLSecret documentation show putting these directives before URL:

Title Ebook Library
AllowVars u
EncryptVar u astringyoupick
EBLSecret D34A9B3C28F1
URL http://www.yourlib.elib.com/EBLWeb/patron/
DJ elib.com

v0.0.7 reports the following:

test.txt:5: URL http://www.yourlib.elib.com/EBLWeb/patron/ ← URL directive is out of order

It's not clear to me if these directives will work after the URL directive. I'll see if I can test that somehow.

moorereason commented 2 hours ago

BTW, lots of issues found in the official OCLC stanzas mirrored at https://github.com/kent-state-university-libraries/oclc-ezproxy-database-stanzas. A great source of test stanzas for this project.