Skip to content
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

File name with reserved URL characters is not supported (FF 40 only) #31

Open
mbratukha opened this issue Mar 31, 2015 · 5 comments
Open
Assignees

Comments

@mbratukha
Copy link

I got this bug when had tried to use a file with name test#.mp3.
Symbol # should be replaced by %23 to make a request to the server.

@IonDen IonDen added the Bug label Apr 15, 2015
@IonDen IonDen self-assigned this Apr 15, 2015
@IonDen IonDen added Minor Bug and removed Bug labels May 27, 2015
@IonDen
Copy link
Owner

IonDen commented May 29, 2015

Fixed in 3.0.1

@IonDen IonDen closed this as completed May 29, 2015
@mbratukha
Copy link
Author

The bug is still here, but only for Friefox (at least in ver. 40.0.2).

The file loading goes fine:
image

But then it suddenly says that there is no such sound:
image

Any adeas?

@IonDen
Copy link
Owner

IonDen commented Aug 24, 2015

Hi, i will try o check this in the end of the week.

@IonDen IonDen reopened this Aug 24, 2015
@IonDen IonDen changed the title File name with reserved URL characters is not supported File name with reserved URL characters is not supported (FF 40 only) Aug 24, 2015
@a4jp-com
Copy link

a4jp-com commented Oct 6, 2016

I sliced away characters from my array to get the code working on a PC.

Here is a sample of my code.

It might give you a few ideas on fixing your problem.

var thearray1 = Version[item[itemnumber]][3][0];

//remove last 4 characters
var withoutChars = thearray1.slice(0, -4);  

//remove first 12 characters
var withoutChars2 = withoutChars.slice(12);

ion.sound({sounds:[{name: withoutChars2}], volume: 1.0, path:"/ion/sounds/", preload: false});
ion.sound.play(encodeURIComponent(withoutChars2));

@a4jp-com
Copy link

a4jp-com commented Oct 6, 2016

Whoops. I just saw this was from a year ago. I'll keep the post here though. It might help someone.

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

No branches or pull requests

3 participants