Skip to content

Compatibility Fixes for iSpot API #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lisa-lionheart
Copy link

Had some issues with an API we are using for iSpot.tv, managed to fix them its really minor things that make it behave more like chrome. TBH iSpots server software is the problem for being so pedantic

@phil-lavin
Copy link

This solved the issues I was having requesting Asterisk AMI over HTTP. Not sure why it hasn't been merged yet.

if (part.length > 2) {
params[part[1]] = part[2];
params[part[1]] = part[2].replace('"','');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit is a bit complex. Rather the regex could be changed from "?(.*)"? to "?(.+?)"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants