[prev in list] [next in list] [prev in thread] [next in thread] 

List:       owncloud
Subject:    Re: [Owncloud] sharing by link and a rewrite of %2 to %252
From:       Victor Dubiniuk <victor.dubiniuk () gmail ! com>
Date:       2012-11-15 16:11:57
Message-ID: CA+UHsBtMUc3MfrrAR82swzi0iiJtm=ofXvWixuauvR7CE14jWw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Gregor,

if you paste in your browser

> server.tld/public.php?service=**files&dir=%2Fusername%2Ffiles%**
> 2FFoldername1%2FFoldername2


and  it redirects you to

> https://server.tld/public.php?**service=files&dir=%**
> 252Fusername%252Ffiles%**252FFoldername1%**252FFoldername2<https://server.tld/public.php?service=files&dir=%252Fusername%252Ffiles%252FFoldername1%252FFoldername2>
> 


it's most likely related to the server configuration solely.

---
Victor

On Thu, Nov 15, 2012 at 5:22 PM, Gregor Gilka <mail@gregorgilka.de> wrote:

> First of all thanks a lot for this nice peace of software. I use owncloud
> for quite some time now and I am glad that you all do such a great job.
> 
> I am using OC 4.5.2 since 2 hours on my own virtual server. I want to
> share a folder by link. When I copy the link into by browser all works as
> it should.
> https://server.tld/public.php?**service=files&dir=%2Fusername%**
> 2Ffiles%2FFoldername1%**2FFoldername2<https://server.tld/public.php?service=files&dir=%2Fusername%2Ffiles%2FFoldername1%2FFoldername2>
>  
> Great. But I just noticed when I remove the https, so I try to open
> server.tld/public.php?service=**files&dir=%2Fusername%2Ffiles%**
> 2FFoldername1%2FFoldername2
> 
> in my Browser, it is first rewritten to https as it is configured in my
> apache2 but the percentage symbol is also rewritten to %25 so that my
> browser tries to open:
> https://server.tld/public.php?**service=files&dir=%**
> 252Fusername%252Ffiles%**252FFoldername1%**252FFoldername2<https://server.tld/public.php?service=files&dir=%252Fusername%252Ffiles%252FFoldername1%252FFoldername2>
>  
> which results in an error message as expected.
> 
> Is it a specific bug due to my 80->443 rewrite rule or do you think that
> should be fixed?
> 
> Thanks a lot you guys,
> Gregor
> ______________________________**_________________
> Owncloud mailing list
> Owncloud@kde.org
> https://mail.kde.org/mailman/**listinfo/owncloud<https://mail.kde.org/mailman/listinfo/owncloud>
>  


[Attachment #5 (text/html)]

Hi Gregor,<div><br></div><div>if you paste in your browser </div><div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">server.tld/public.php?service=</span><u \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"></u><span \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">files&amp;dir=%2Fusername%2Ffiles%</span><u \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"></u><span \
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">2FFoldername1%2FFoldername2</span></blockquote>
 <div><br></div><div>and  it redirects you to </div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><a \
href="https://server.tld/public.php?service=files&amp;dir=%252Fusername%252Ffiles%252FFoldername1%252FFoldername2" \
target="_blank">https://server.tld/public.php?<u></u>service=files&amp;dir=%<u></u>252Fusername%252Ffiles%<u></u>252FFoldername1%<u></u>252FFoldername2</a></blockquote>
 <div><br></div><div>it&#39;s most likely related to the server configuration \
solely.</div><div><br></div><div>---</div><div>Victor </div><br><div class="gmail_quote">On \
Thu, Nov 15, 2012 at 5:22 PM, Gregor Gilka <span dir="ltr">&lt;<a \
href="mailto:mail@gregorgilka.de" target="_blank">mail@gregorgilka.de</a>&gt;</span> wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">First of all thanks a lot for this nice peace of software. I use \
owncloud for quite some time now and I am glad that you all do such a great job.<br>

<br>
I am using OC 4.5.2 since 2 hours on my own virtual server. I want to share a folder by link. \
When I copy the link into by browser all works as it should.<br> <a \
href="https://server.tld/public.php?service=files&amp;dir=%2Fusername%2Ffiles%2FFoldername1%2FFoldername2" \
target="_blank">https://server.tld/public.php?<u></u>service=files&amp;dir=%2Fusername%<u></u>2Ffiles%2FFoldername1%<u></u>2FFoldername2</a><br>


<br>
Great. But I just noticed when I remove the https, so I try to open<br>
server.tld/public.php?service=<u></u>files&amp;dir=%2Fusername%2Ffiles%<u></u>2FFoldername1%2FFoldername2<br>
 <br>
in my Browser, it is first rewritten to https as it is configured in my apache2 but the \
percentage symbol is also rewritten to %25 so that my browser tries to open:<br> <a \
href="https://server.tld/public.php?service=files&amp;dir=%252Fusername%252Ffiles%252FFoldername1%252FFoldername2" \
target="_blank">https://server.tld/public.php?<u></u>service=files&amp;dir=%<u></u>252Fusername%252Ffiles%<u></u>252FFoldername1%<u></u>252FFoldername2</a><br>


<br>
which results in an error message as expected.<br>
<br>
Is it a specific bug due to my 80-&gt;443 rewrite rule or do you think that should be \
fixed?<br> <br>
Thanks a lot you guys,<br>
Gregor<br>
______________________________<u></u>_________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" \
target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/owncloud</a><br> \
</blockquote></div><br></div>



_______________________________________________
Owncloud mailing list
Owncloud@kde.org
https://mail.kde.org/mailman/listinfo/owncloud


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic