jackma93 / wami-recorder

Automatically exported from code.google.com/p/wami-recorder
0 stars 0 forks source link

too strict domain handling (or something else) #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. edit recorder.js and put your own domain with www prefix into 
recorder.startRecording("<here>",start,finish,error);
2. go to your site without www prefix

What is the expected output? What do you see instead?
Expected: your input handler would get stream.
Instead: you don't get your input stream at all.

What version of the product are you using? On what operating system?
- on 30.11.2011, the latest. 
- Linux.

Please provide any additional information below.

Original issue reported on code.google.com by lauri.ja...@gmail.com on 30 Nov 2011 at 4:38

GoogleCodeExporter commented 8 years ago
I'm not sure I fully understand the issue.  The HTTP POST will go to precisely 
the URL you specify in startRecording.  It's up to you to configure your server 
to ensure that the URL resolves to a server-side technology that can capture 
the body of a HTTP POST request.  For testing purposes, it can be helpful to 
just try to handle an HTTP GET by loading the URL in your browser.  If the GET 
works, switching to a POST shouldn't be too hard.  Here are some more details 
on domain configuration:

This sounds like it might be a misconfigured server:
http://computer.howstuffworks.com/internet/basics/question180.htm

If this doesn't answer your question, I'll probably need more information to 
help.  Does it work if you omit the "www" in the URL in startRecording?  Are 
you hard-coding the full URL, or are you computing it in Javascript based on 
the site?  What server-side technology are you using to handle the HTTP POST?  
How is your site hosted?  What version of Flash/Linux are you using?

Original comment by mcgrawian@gmail.com on 30 Nov 2011 at 6:27

GoogleCodeExporter commented 8 years ago

Original comment by mcgrawian@gmail.com on 2 Dec 2011 at 7:44