themaManager
http://manager.themasoftware.com/forum/

URL broken with '[' character.
http://manager.themasoftware.com/forum/viewtopic.php?f=4&t=6509
Page 1 of 1

Author:  mcmoore [ May 7th, 2017, 11:10 pm ]
Post subject:  URL broken with '[' character.

Hi Freddy,

Is there a way to prevent thema manager from breaking a download link e.g.

http://filehost/djuwzje9rnql/nametitle.[RF][DVD3]-text.part2.rar.html

Thema Manager will only see the link as (in bold below) which makes it so I cant replace them

http://filehost/djuwzje9rnql/nametitle.[RF][DVD3]-text.part2.rar.html

Any advice?

Thanks

Author:  Freddy [ May 8th, 2017, 5:37 am ]
Post subject:  Re: URL broken with '[' character.

Hi

the '[' is not legal URL character. So it's not considered as part of URL (after '[' is not URL anymore).

I can't just consider everything after '[' as URL because that would just lead to other problems.

The host should encode URLs so that they will be valid.

For example:
Code:
[url]http://some_url.com[/url]


The end "url" tag would become part as URL and that would be bad. It's a standard procedure. Seems like they just forgot to do that.

You should report that to their admins.

You can alternatively name your files without brackets if their admins are slow to fix it.

Author:  mcmoore [ May 8th, 2017, 10:18 am ]
Post subject:  Re: URL broken with '[' character.

No problem i'll use your replace function and remove the '[', the links still direct as usual :)

Thanks for such a useful piece of software

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/