[Ovmsdev] Valid Vehicle ID characters?
Michael Balzer
dexter at expeedo.de
Fri Mar 9 17:45:36 HKT 2018
Right, forgot about that. Input validation rule changed to allow lower case letters and hyphen.
Regards,
Michael
Am 09.03.2018 um 07:20 schrieb Mark Webb-Johnson:
> As these are used in mDNS, I think we should follow DNS naming conventions:
>
> https://tools.ietf.org/html/rfc952
>
> https://technet.microsoft.com/en-us/library/cc959336.aspx
>
>
> I think that means letter, digits, and the hyphen character.
>
> Regards, Mark.
>
>> On 9 Mar 2018, at 3:42 AM, Greg D. <gregd2350 at gmail.com <mailto:gregd2350 at gmail.com>> wrote:
>>
>> I can't find it now, but somehow I ended up with an underscore in my
>> vehicle ID, registered through the OpenVehicles website. Should I
>> change the ID, or change the webserver to accept the additional
>> characters? I'm guessing the only real restrictions are to use the
>> traditional printable characters from the base ASCII character set, and
>> no spaces.
>>
>> Greg
>>
>>
>> Michael Balzer wrote:
>>> No, that's the v2 rule for vehicle IDs.
>>>
>>> Don't know about the origin though, I don't think any component would have a problem with lower case and dashes / underscores /…
>>>
>>> Even UTF-8 should be no problem (except via SMS). Maybe a rule we can drop?
>>>
>>>
>>>
>>> Am 08.03.2018 um 19:17 schrieb Greg D.:
>>>> Just noticed... The Webserver restricts the vehicle ID to "upper case
>>>> letters and digits". I thought underscores and dashes are allowed
>>>> (seems to work); my car's ID contains an underscore... Is this
>>>> additional restriction new (server v3, perhaps)?
>>>>
>>>> Greg
>>>>
>>>> _______________________________________________
>>>> OvmsDev mailing list
>>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180309/1c747602/attachment.htm>
More information about the OvmsDev
mailing list