You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by murat <gr...@gmail.com> on 2019/10/31 13:43:38 UTC

How can i change # character in Guacamole URL

Hi,

How can i change # character in Guacamole URL like
http://localhost:8080/guacamole/#/client/NABjAG15c3Fs ?



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: How can i change # character in Guacamole URL

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Oct 31, 2019 at 11:57 AM Deneme deneme <gr...@gmail.com>
wrote:

> We are building an desktop application using electron framework. In this
> framework i am trying to open a window which connects to a windows machine
> using guacamole rdp client. Open a window in this framework blocks the url
> part after  http://localhost:8080/guacamole/ because "#" is a
> reserved character for html standards. Unicode version is also doesn't work
> as %23 in the angular side.
>
>
Okay, but the point is that the Guacamole web application works *within*
the HTML standards, not against/around it.  The anchor is there
specifically because it is telling the web browser to go to a certain place
within the AngularJS application, and is not passing that portion of the
URL on to the server.  If you watch the network requests going between the
browser and the server, you'll never see that portion of the URL
transmitted to the server, because this is happening within the browser.

So, if you're building an electron framework application, you'll want to do
something similar - you'll need some way of telling the electron
application that a particular request is intended to work completely within
that application and not be sent to the server.  The anchor (#) is the
standard way to do this.

-Nick

Re: How can i change # character in Guacamole URL

Posted by Deneme deneme <gr...@gmail.com>.
We are building an desktop application using electron framework. In this
framework i am trying to open a window which connects to a windows machine
using guacamole rdp client. Open a window in this framework blocks the url
part after  http://localhost:8080/guacamole/ because "#" is a
reserved character for html standards. Unicode version is also doesn't work
as %23 in the angular side.



Nick Couchman <vn...@apache.org>, 31 Eki 2019 Per, 18:46 tarihinde şunu
yazdı:

> On Thu, Oct 31, 2019 at 9:51 AM murat <gr...@gmail.com> wrote:
>
>> Hi,
>>
>> How can i change # character in Guacamole URL like
>> http://localhost:8080/guacamole/#/client/NABjAG15c3Fs ?
>>
>>
>>
> Well, first, you can't - this is not a function of Guacamole, per se, it's
> part of the HTTP URL specification.  Everything preceding the "#" in the
> URL is a request sent to the server, everything after it is done on the
> client ("Anchor").  The /client/<identifier> portion of this URL tells the
> AngularJS web application, which runs in the browser, to load the specified
> connection.
>
> But, more fundamentally, why would you want/need to change this?
>
> -Nick
>

Re: How can i change # character in Guacamole URL

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Oct 31, 2019 at 9:51 AM murat <gr...@gmail.com> wrote:

> Hi,
>
> How can i change # character in Guacamole URL like
> http://localhost:8080/guacamole/#/client/NABjAG15c3Fs ?
>
>
>
Well, first, you can't - this is not a function of Guacamole, per se, it's
part of the HTTP URL specification.  Everything preceding the "#" in the
URL is a request sent to the server, everything after it is done on the
client ("Anchor").  The /client/<identifier> portion of this URL tells the
AngularJS web application, which runs in the browser, to load the specified
connection.

But, more fundamentally, why would you want/need to change this?

-Nick