Skip to content

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