An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
Local Storage question
#23035 08/12/12 02:26 AM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
This post can't be viewed in the traditional manner because, I assume, of the code included, so I've posted it as an image.

Thanks for any input.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Local Storage question
artie505 #23048 08/13/12 05:50 AM
Joined: Aug 2009
Likes: 1
Offline

Joined: Aug 2009
Likes: 1
I don't want to say this with 100% confidence, but it LOOKS like this is the table that Safari uses to keep track of local storage on your computer; it's an index for the local storage database, which always exists (but has no entries if there are no local databases).


Photo gallery, all about me, and more: www.xeromag.com/franklin.html
Re: Local Storage question
tacit #23083 08/15/12 07:55 AM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
It's awkward, but it's the only way to do it.

Edit

Last edited by artie505; 08/15/12 09:36 AM.

The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Local Storage question
artie505 #23085 08/15/12 02:36 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
getting a bad case of Unicode Indigestion?


I work for the Department of Redundancy Department
Re: Local Storage question
Virtual1 #23092 08/15/12 08:02 PM
Joined: Aug 2009
Likes: 15
OP Online

Joined: Aug 2009
Likes: 15
Not me, but UBB.threads needs some anti-nausea drugs.


The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
Re: Local Storage question
Virtual1 #23103 08/16/12 03:54 AM
Joined: Aug 2009
Likes: 1
Offline

Joined: Aug 2009
Likes: 1
I think what's actually happening is that UBB.threads forbids SQL statements in messages to guard against the possibility of a SQL injection attack. There was an older version of UBB.threads that had a SQL injection vulnerability; MFIF got hit with it some while back.


Photo gallery, all about me, and more: www.xeromag.com/franklin.html
Re: Local Storage question
tacit #23105 08/16/12 10:20 AM
Joined: Aug 2009
Likes: 3
Moderator
Offline
Moderator

Joined: Aug 2009
Likes: 3

I opened ~/Library/Safari/LocalStorage/http_store.apple.com_0.localstorage in TextWrangler, chose Show Invisibles from the Text Options menu in the toolbar, and stripped them all out. Then the visible characters pass the UBB test and can be posted, like so:

Code:
SQLite format 3@  
¸¢¢üÅz!11ÉtableItemTableItemTableCREATE TABLE ItemTable (key TEXT UNIQUE ON CONFLICT REPLACE, value TEXT NOT NULL ON CONFLICT 
~”~6HÉ%ÖuappleMetricshttpStoreAppleComUsBrowseHomeSpecialdealsClearanceUsBrowseHomeSpecialdealsMacMacbook_pro13{"timestamp":1340713580142,"evar1":"AOS: home/specialdeals/clearance | refurb-nav-list-1 | List of Links | 5 | MacBook Pro 13\"","evar30":"home/specialdeals/clearance/refurb-nav-list-1"}®FY–Eus-W1340451323-col1{"part":"MD101LL/A","options":[{"isNone":false,"isUpgrade":false,"value":"065-0731","label":"2.5GHz Dual-core Intel Core i5, Turbo Boost up to 3.1GHz","metricsLabel":"2.5GHz Intel Core i5","option":"option.macbook_processor"},{"isNone":false,"isUpgrade":false,"value":"065-0733","label":"4GB 1600MHz DDR3 SDRAM   2x2GB","metricsLabel":"4GB 1600MHz DDR3 SDRAM - 2x2GB","option":"option.macbookpro_memory_i5"},{"isNone":false,"isUpgrade":false,"value":"065-0739","label":"500GB Serial ATA Drive @ 5400 rpm","metricsLabel":"500GB Ser+MLAST_PAGE_FORMATnull∞€∞∞appleMe”%appleMetricshttpStoreAppleComUsBrowseHomeSpecialdealsClearanceUsBrowseHomeSpecialdealsMacMacbook_pro13*Yus-W1340451323-col1$MLAST_PAGE_FORMATial ATA Drive @ 5400 rpm","option":"option.macbook_hard_drive_al"},{"isNone":false,"isUpgrade":false,"value":"065-0747","label":"SuperDrive 8x (DVD±R DL/DVD±RW/CD-RW)","metricsLabel":"SuperDrive 8x (DVD+R DL/DVD+RW/CD-RW)","option":"option.macbookpro_optical_drive"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.apple_thunderbolt_display"},{"isNone":false,"isUpgrade":false,"value":"065-0760","label":"Backlit Keyboard (English) & User's Guide (English)","metricsLabel":"Keyboard/User's Guide","option":"option.macbookpro_keyboard_and_documentation"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.macbook_applecare"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.one_to_one"},{"isNone":true,"isUpgrade":false,"value":"065-0751","label":"None","metricsLabel":"NONE","option":"option.vga_adapter"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.dvi_adapter"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.dual_link_dvi_adapter"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.hdmi_adapter"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.apple_remote"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.apple_thunderbolt_cable"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"NONE","option":"option.external_storage"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"None","option":"option.time_capsule"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"NONE","option":"option.apple_tv_mac"},{"isNone":true,"isUpgrade":false,"value":"none","label":"None","metricsLabel":"NONE","option":"option.printer_offers"}]}



dkmarsh—member, FineTunedMac Co-op Board of Directors

Moderated by  alternaut, dianne, MacManiac 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.023s Queries: 28 (0.016s) Memory: 0.6070 MB (Peak: 0.6772 MB) Data Comp: Zlib Server Time: 2024-04-18 09:47:11 UTC
Valid HTML 5 and Valid CSS