ID coming with 'DOT' taffy throwing error

35 views
Skip to first unread message

xeondxb

unread,
Jun 20, 2017, 12:21:19 PM6/20/17
to Taffy Users

hi guys,

i having little issue here  when im sending values in url with "." dot  not showing result for example 


<cfcomponent extends="taffy.core.resource" taffy:uri="/v1/devices/{token}/registrations/{regurl}" >

when i remove dots for example 


results :

"/v1/devices/f15566dc799casdfc0b042642casdf7b1/registrations/passcomcnncom"

thanks 

Adam Tuttle

unread,
Jun 20, 2017, 2:02:18 PM6/20/17
to Taffy Users
Long story short, you can't use a dot in the last "chunk" (split chunks by "/") of the URI. This is because of a conflict with the ability to specify the desired return format as e.g. ".json"

You can either use a custom token regex to specify what your token should look like, or always end the URL with the format, as in: .../registrations/pass.com.cnn.com.json

Adam

--
You received this message because you are subscribed to the Google Groups "Taffy Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taffy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

xeondxb

unread,
Jun 20, 2017, 3:09:28 PM6/20/17
to Taffy Users
thanks for response.

ohh then i can't use taffy. because i'm working on apple wallet apple server send values in URL that i can't alter :(.

there no workaround right ?

Adam

To unsubscribe from this group and stop receiving emails from it, send an email to taffy-users...@googlegroups.com.

Adam Tuttle

unread,
Jun 20, 2017, 3:23:46 PM6/20/17
to Taffy Users

Adam

To unsubscribe from this group and stop receiving emails from it, send an email to taffy-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages