Skip to content

u/Ergomane

In this archive from Apr 2010 to Jan 2013

2
posts
63
comments
0
media
132
score

Another possible workaround is to disable some validation and/or annotation settings. It's been a while since I've' used Eclipse for PHP development, but I remember disabling some validations/annotations for classes for inheritance increased responsiveness significantly.

(I quit using Eclipse because of the ffing subversion mess).

1 points

I've only read some parts of the code, but I doubt that this is a safe implementation.

[img]url here can run out of attribute values and may contain javascript scheme[/img]

eg

[img]javascript:alert(0)[/img]
[img]/notexist.jpg" onerror="alert(0)" "[/img]

The blanket htmlspecialchars would prevent the second case, but is likely incorrect. It would be better to simply htmlspecialchars (edit AND scheme-filter) the $1 in the substitution.

1 points

But if you use htmlspecialchars, the handful of characters that it converts can be processed equivalently in the most common Web character sets, including UTF-8 and ISO-8859.

While this is correct, it is not right.

If you specify UTF-8, htmlspecialchars in modern PHP will do some additional checking to prevent certain overlong encodings.

A 0xC0 for example will swallow the next byte in IE6 (of course, what else) making it treat subsequent bytes out of context.

1 points

PHPStorm also works with remote servers where project files are indexed locally and auto-uploaded on change.

I don't think is useful for the OPs situation, where multiple users work on the remote files.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.