e-clearing-net / OCHP

Open Clearing House Protocol
http://ochp.eu
MIT License
50 stars 33 forks source link

Remove protocol 'file' for evseimageurltype #18

Open ahzf opened 7 years ago

ahzf commented 7 years ago

The evseImageUrlType in https://github.com/e-clearing-net/OCHP/blob/master/OCHP.md#evseimageurltype-class has a regular expression for verification which allows the "file" protocol type beside http, https, ftp. As 'file' means "this computer" https://en.wikipedia.org/wiki/File_URI_scheme it is unlikely that it will make much sense in the OCHP protocol. Therefore I would suggest to remove it.