azu / irodr

RSS reader client like LDR for Inoreader.
https://irodr.netlify.app/
MIT License
127 stars 4 forks source link

Invalid feed id #26

Closed azu closed 6 years ago

azu commented 6 years ago

Sometimgs, Inoreader return "invalid feedid" response. We will inverstigate it.

azu commented 6 years ago

https://forum.inoreader.com/topic/2713-invalid-feed-id-error-message-when-feed-id-contain-a-character/

azu commented 6 years ago

Can load http://localhost:13245/api/0/stream/contents/feed%2Fhttps%3A%2F%2Faddons.mozilla.org%2Fja%2Ffirefox%2Fextensions%2Fweb-development%2Fformat%3Arss%3Fsort%3Dnewest?n=20 But, can not load http://irodr.netlify.com/api/0/stream/contents/feed%2Fhttps%3A%2F%2Faddons.mozilla.org%2Fja%2Ffirefox%2Fextensions%2Fweb-development%2Fformat%3Arss%3Fsort%3Dnewest?n=20

Why?

azu commented 6 years ago

netlify rewrite rule get something wrong....

azu commented 6 years ago

Added skip feature asap.

azu commented 6 years ago

I've solved this issue.

The result is https://github.com/azu/netlify-rewrite-proxy

We apply the workaround: twice encodeURIComponent

encodeURIComponent(encodeURIComponent(subscription.id.toValue()))

This is bug of Netlify..?