Search and Top Navigation
#7945 closed feature (notabug)
Opened December 12, 2011 09:48AM UTC
Closed October 10, 2012 05:05PM UTC
ThemeRoller: Clean user data and/or prevent invalid inputs
Reported by: | welja | Owned by: | welja |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | [meta] ui.themeroller | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When downloading this custom theme in the latest Firefox (link at bottom of ticket ) a background image gets a name with a percentage sign:
ui-bg_highlight-soft_60%_ffa000_1x100.png which doesnot display in the browser.
Manual Fix:
Remove % sign in image name and fix the corresponding css link ( line 69 )
Attachments (0)
Change History (5)
Changed December 12, 2011 01:11PM UTC by comment:1
owner: | jquery-infrastructure → welja |
---|---|
status: | new → pending |
Changed December 12, 2011 01:41PM UTC by comment:2
status: | pending → new |
---|
I retraced my steps and found out that if you enter a % sign in the themeroller (input name bgImgOpacityHover) it gets passed to the css and is used in the image name.
The steps are:
1. Go to http://jqueryui.com/themeroller
2. Put a number and a % sign in the opacity box ( i put it in [Clickable: hover state] )
3. Download the theme using the button underneath Roll Your Own.
4. Unpack the zip and go to the images folder and a png with an % in its name should be there (and in the css)
So some input escaping is due :)
Changed December 12, 2011 01:48PM UTC by comment:3
summary: | % sign in backgroundimage name → ThemeRoller: Clean user data and/or prevent invalid inputs |
---|---|
type: | bug → feature |
Not escaping, cleaning. You should never type a % in that field.
Changed December 12, 2011 01:51PM UTC by comment:4
Cleaning, that's it.
And you should never be ''allowed'' to type a % in that field. :)
Changed October 10, 2012 05:05PM UTC by comment:5
resolution: | → invalid |
---|---|
status: | new → closed |
Moved to new repo: https://github.com/jquery/download.jqueryui.com/issues/31
What are the manual steps for actually getting to that point?