[openupload-devel] Different URLs ?
Status: Beta
Brought to you by:
tsdogs
|
From: <nik...@xe...> - 2010-10-21 17:12:07
|
Hi, when using OpenUpload, we ran into the following problem: - A user generates a Download-Link, and sends it by mail (Thunderbird client) to a Mac user. The Mac user gets: https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv instead of https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv So the ampersand is escaped, which makes the link unusable. Of course one could try to find out why this happens and what workaround can be applied on the Thunderbird or Mac side. But I think it would be safer to create safer URLs to begin with, for example https://www.exampleserver.net/openupload/d/r7t8DuGPOv with no special characters excaept the slash. This could be done fairly easy by using Apache rewrite module, so that Apache would rewrite https://www.exampleserver.net/openupload/d/r7t8DuGPOv back to https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv upon calling the URL. And of course, the slash URL would also be displayed in the Interface and sent by mail. This shouldn't be too hard, using the Apache rewrite module. Of course this requires access to the rewrite module (and to Apache). Did anyone already do this? Did I maybe miss an option that already delivers this? If not, I would probably do this and post the result. Or am I missing something that makes my idea look undesirable or unnecessary? Greetings Harald |