Maximum length of URL string

Asked by MarekBowman

When adding some URL content to a layout what is the maximum length of the URL

the problem I am getting is when adding
http://sli007.gb.minebea.local/ReportServer?%2fElectronic+Display+Reports%2fDisplayDash&rs:Command=Render&rc:toolbar=false
on saving the edit, the command is being truncated to
http://sli007.gb.minebea.local/ReportServer?%2fElectronic+Display+Reports%2fDisplayDash

Many thanks
Marek

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Hi Marek,

Thanks for trying Xibo.

In theory there should not be a maximum length for the URL - however I
wonder if it might be to do with the way I am sanitising the URL form input.
I notice that it removes everything after the first &.

I will look into this for you later on today and create a bug report if I am
right. I am sure I can also make a patch available to you so you dont need
to wait for 1.0.0-rc3.

I will let you know.

Thanks,
Dan

2009/3/10 MarekBowman <email address hidden>

> New question #63704 on Xibo:
> https://answers.launchpad.net/xibo/+question/63704
>
> When adding some URL content to a layout what is the maximum length of the
> URL
>
> the problem I am getting is when adding
>
> http://sli007.gb.minebea.local/ReportServer?%2fElectronic+Display+Reports%2fDisplayDash&rs:Command=Render&rc:toolbar=false
> on saving the edit, the command is being truncated to
>
> http://sli007.gb.minebea.local/ReportServer?%2fElectronic+Display+Reports%2fDisplayDash
>
> Many thanks
> Marek
>
> --
> You received this question notification because you are a member of Xibo
> Developers, which is an answer contact for Xibo.
>

Revision history for this message
Steve (steve-aspindle) said :
#2

I Have noticed this problem also..

Everyting after first Ampersand is stripped...

Cheers

Revision history for this message
Dan Garner (dangarner) said :
#3

Confirmed and created a bug report

(https://bugs.launchpad.net/xibo/+bug/342026)

Revision history for this message
Dan Garner (dangarner) said :
#4

This is now fixed in rc3.

Revision history for this message
Dan Garner (dangarner) said :
#5

rc3 is released and can be downloaded here: https://launchpad.net/xibo/1.0/1.0.0-rc3