applause-button icon indicating copy to clipboard operation
applause-button copied to clipboard

All URL is case-sensitive within the applause-button

Open LazyRen opened this issue 4 years ago • 1 comments

IMHO, some part must not be taken as case-sensitve.

I just noticed this while playing around with #33.

I have reconfigured my blog setting to use lowercase for the hostname. (e.g. LazyRen.github.io/post-link -> lazyren.github.io/post-link) But unfortunatelly, this erased all previously stored clap-count...

~/blog master                                                                                                                                                                                                                                                                 
❯ curl 'https://api.applause-button.com/get-multiple' \
  -H 'Content-Type: text/plain' --data-binary \
'["Applause-button.com/"]'        
[]%                                                                                                                                                                                                                                                                            

~/blog master                                                                                                                                                                                                                                                                 
❯ curl 'https://api.applause-button.com/get-multiple' \
  -H 'Content-Type: text/plain' --data-binary \
'["applause-button.com/"]'
[{"claps":42135,"sourceIp":"37.120.201.188","url":"applause-button.com/"}]%      

LazyRen avatar Feb 05 '22 21:02 LazyRen

That's a fair comment, and should be easy to remedy. The fix would need to be done over in applause-button-server.

@LazyRen Would you mind adding an issue over there? Feel free to link back to this one.

chriswilty avatar Sep 23 '24 11:09 chriswilty